-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): update scripts & manual
- Loading branch information
1 parent
9942a7b
commit 5b5c017
Showing
4 changed files
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Release manual | ||
|
||
- Switch to main branch | ||
- Run `yarn release` | ||
- The project will be tested, built, bumped and tagged | ||
- Tags will be pushed to GitHub | ||
- A draft release will be created, and GitHub actions will add binaries to it | ||
- `npm publish` will run automatically, and pause while waiting for OTP | ||
- If everything went well, enter OTP to publish to NPM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
"hooks": "cross-env NODE_ENV=hooks yarn start", | ||
"build": "tsc", | ||
"package": "yarn build && yarn pkg ./dist/index.js --config ./package.json", | ||
"release": "yarn np", | ||
"release": "yarn np && npm publish", | ||
"prepublish": "yarn package && yarn test", | ||
"postpublish": "yarn package --compress Brotli", | ||
"test": "jest", | ||
|
@@ -90,6 +90,6 @@ | |
"packageManager": "[email protected]", | ||
"np": { | ||
"cleanup": false, | ||
"no-publish": true | ||
"publish": false | ||
} | ||
} |