Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: prepend unique prefix for release script #370

Merged
merged 1 commit into from
Mar 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ export E2E_TEST_GH_TOKEN="" // this can be your own personal GH access token, or
### Release
Run the following on the release branch to tag and push changes automatically:
```
npm run release --update=<versionType>
npm run release --isomer_update=<versionType>
```
where versionType corresponds to npm version types. This only works on non-Windows platforms, for Windows, modify the release script to use %npm_config_update% instead of $npm_config_update.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"start": "node ./bin/www",
"dev": "source .env && node ./bin/www",
"test": "source .env && jest",
"release": "npm version $npm_config_update && git push --tags",
"release": "npm version $npm_config_isomer_update && git push --tags",
"lint": "npx eslint .",
"format": "npx prettier --write .",
"check-format": "npx prettier --check .",
Expand Down