Skip to content

Commit

Permalink
chore: release script
Browse files Browse the repository at this point in the history
  • Loading branch information
nytamin committed Apr 28, 2022
1 parent b3a6640 commit 1ce69dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/FOR_DEVELOPERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ yarn build:binary

## Making a new release (Admins only)

1. Run `lerna version --force-publish` in the root of the repo to bump the appropriate version numbers in the various `package.json` files. Lerna will automatically commit and push the changes along with the appropriate tag.
1. Run `yarn release` in the root of the repo to bump the appropriate version numbers in the various `package.json` files. Lerna will automatically commit and push the changes along with the appropriate tag.
2. Wait for the [`Create GitHub Release`](https://github.com/SuperFlyTV/SuperConductor/actions/workflows/create-release.yaml) action to finish.
3. Go to the [releases](https://github.com/SuperFlyTV/SuperConductor/releases) page and publish the draft release.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@
"dev:electron": "lerna run dev --stream --scope=superconductor",
"dev:tsr": "lerna run dev --stream --scope=tsr-bridge",
"postinstall": "electron-rebuild --force --version 15.3.5 --module-dir apps/tsr-bridge",
"license-validate": "node scripts/license-check.js"
"license-validate": "node scripts/license-check.js",
"release:release": "lerna version --force-publish",
"release:pre-release": "lerna version --force-publish",
"release": "yarn lint && yarn release:release",
"pre-release": "yarn lint && yarn release:pre-release"
},
"resolutions": {
"prebuild-install": "^7.0.0",
Expand Down

0 comments on commit 1ce69dd

Please sign in to comment.