Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
ci: 👷 Change Release to work with pre and exp branches
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonboukheir committed Apr 3, 2021
1 parent 0d291ef commit 9f7cb13
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 95 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ on:
push:
branches:
- master
- preview
- pre
- exp
- '[0-9]+.[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.x'
- '[0-9]+.x.x'
Expand All @@ -25,13 +26,13 @@ jobs:
@semantic-release/git
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/setup-node@v1
with:
node-version: '12.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@careboo'

- name: Publish to GitHub Package Repository
if: steps.semantic.outputs.new_release_published == 'true'
run: ./scripts/release
Expand Down
6 changes: 5 additions & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@
"+([0-9])?(.{+([0-9]),x}).x",
"master",
{
"name": "preview",
"name": "pre",
"prerelease": true
},
{
"name": "exp",
"prerelease": true
}
]
Expand Down
8 changes: 3 additions & 5 deletions Packages/manifest.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
{
"dependencies": {
"com.careboo.burst-delegates": "1.2.0",
"com.unity.burst": "1.4.3",
"com.unity.burst": "1.5.1",
"com.unity.collections": "0.14.0-preview.16",
"com.unity.entities": "0.17.0-preview.41",
"com.unity.ide.vscode": "1.2.3",
"com.unity.jobs": "0.7.0-preview.17",
"com.unity.package-validation-suite": "0.19.3-preview",
"com.unity.settings-manager": "1.0.3",
"com.unity.test-framework": "1.1.24",
"com.unity.test-framework.performance": "2.7.0-preview",
"com.unity.testtools.codecoverage": "1.0.0-pre.3",
"com.unity.test-framework.performance": "2.8.0-preview",
"com.unity.testtools.codecoverage": "1.0.0",
"com.unity.upm.develop": "0.2.0-preview",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
Expand Down
90 changes: 4 additions & 86 deletions Packages/packages-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"url": "https://package.openupm.com"
},
"com.unity.burst": {
"version": "1.5.0",
"depth": 1,
"version": "1.5.1",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.mathematics": "1.2.1"
Expand All @@ -37,25 +37,6 @@
},
"url": "https://packages.unity.com"
},
"com.unity.entities": {
"version": "0.17.0-preview.41",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.burst": "1.4.1",
"com.unity.properties": "1.5.0-preview",
"com.unity.serialization": "1.5.0-preview",
"com.unity.collections": "0.15.0-preview.21",
"com.unity.mathematics": "1.2.1",
"com.unity.modules.assetbundle": "1.0.0",
"com.unity.test-framework.performance": "2.3.1-preview",
"com.unity.nuget.mono-cecil": "0.1.6-preview.2",
"com.unity.jobs": "0.8.0-preview.23",
"com.unity.scriptablebuildpipeline": "1.9.0",
"com.unity.platforms": "0.10.0-preview.10"
},
"url": "https://packages.unity.com"
},
"com.unity.ext.nunit": {
"version": "1.0.6",
"depth": 1,
Expand All @@ -70,16 +51,6 @@
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.jobs": {
"version": "0.8.0-preview.23",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.collections": "0.15.0-preview.21",
"com.unity.mathematics": "1.2.1"
},
"url": "https://packages.unity.com"
},
"com.unity.mathematics": {
"version": "1.2.1",
"depth": 1,
Expand All @@ -105,59 +76,6 @@
},
"url": "https://packages.unity.com"
},
"com.unity.platforms": {
"version": "0.10.0-preview.10",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.properties": "1.6.0-preview",
"com.unity.properties.ui": "1.6.2-preview.1",
"com.unity.scriptablebuildpipeline": "1.6.4-preview",
"com.unity.serialization": "1.6.2-preview"
},
"url": "https://packages.unity.com"
},
"com.unity.properties": {
"version": "1.6.0-preview",
"depth": 2,
"source": "registry",
"dependencies": {
"com.unity.nuget.mono-cecil": "0.1.6-preview.2",
"com.unity.test-framework.performance": "2.3.1-preview"
},
"url": "https://packages.unity.com"
},
"com.unity.properties.ui": {
"version": "1.6.2-preview.1",
"depth": 2,
"source": "registry",
"dependencies": {
"com.unity.properties": "1.6.0-preview",
"com.unity.serialization": "1.6.1-preview",
"com.unity.modules.uielements": "1.0.0"
},
"url": "https://packages.unity.com"
},
"com.unity.scriptablebuildpipeline": {
"version": "1.9.0",
"depth": 1,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.serialization": {
"version": "1.6.2-preview",
"depth": 2,
"source": "registry",
"dependencies": {
"com.unity.collections": "0.12.0-preview.13",
"com.unity.burst": "1.3.5",
"com.unity.jobs": "0.5.0-preview.14",
"com.unity.properties": "1.6.0-preview",
"com.unity.test-framework.performance": "2.3.1-preview"
},
"url": "https://packages.unity.com"
},
"com.unity.settings-manager": {
"version": "1.0.3",
"depth": 0,
Expand All @@ -177,7 +95,7 @@
"url": "https://packages.unity.com"
},
"com.unity.test-framework.performance": {
"version": "2.7.0-preview",
"version": "2.8.0-preview",
"depth": 0,
"source": "registry",
"dependencies": {
Expand All @@ -187,7 +105,7 @@
"url": "https://packages.unity.com"
},
"com.unity.testtools.codecoverage": {
"version": "1.0.0-pre.3",
"version": "1.0.0",
"depth": 0,
"source": "registry",
"dependencies": {
Expand Down

0 comments on commit 9f7cb13

Please sign in to comment.