Skip to content

Commit

Permalink
Add instructions for publishing to npm.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertGardner committed May 14, 2019
1 parent fde19c1 commit 7f51b7d
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions publish/instructions.md
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.

0 comments on commit 7f51b7d

Please sign in to comment.