-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add instructions for publishing to npm.
- Loading branch information
1 parent
fde19c1
commit 7f51b7d
Showing
1 changed file
with
38 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Process for publishing a new release: | ||
|
||
Sync local copy to latest source: | ||
``` | ||
git checkout master | ||
git pull | ||
``` | ||
|
||
Clean any old artifacts: | ||
``` | ||
cd src | ||
npm run ngc.clean | ||
``` | ||
|
||
Bump version in `package.json`: | ||
``` | ||
cd src | ||
npm version patch|minor|major -m "chore(): ver bump" | ||
``` | ||
|
||
Update `CHANGELOG.md` as necessary and add it to the commit: | ||
``` | ||
git add package.json | ||
git add ../CHANGELOG.md | ||
``` | ||
|
||
Sync to `git`: | ||
``` | ||
git push | ||
``` | ||
|
||
Publish the release to `npm`: | ||
``` | ||
./publish.sh | ||
``` | ||
|
||
Create a new github release at https://github.com/triniwiz/nativescript-stripe/releases. | ||
Upload `./package/nativescript-stripe.<version>.tgz` to the release. |