-
-
Notifications
You must be signed in to change notification settings - Fork 40
chore: add changelog for the 0.10.0 release and steps for publishing #486
Conversation
The package is used by the npm preversion script for generating changelog.
Thank you for your contribution! | ||
## Publishing new versions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add to TOC.
git checkout -b username/release-version | ||
``` | ||
5. Run `npm version` to bump the version in the `package.json`, tag the release and update the CHANGELOG.md: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The npm version
script does not create a tag - update it to do so or add it as an explicit step.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After: | ||
``` | ||
tns run android --bundle --env.snapshot --release --keyStorePath ~/path/to/keystore/my.keystore --keyStorePassword password --keyStoreAlias alias --keyStoreAliasPassword aliasPassword | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sis0k0 what if you only want to use Android studio for publishing packages instead of just the CLI?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're stripping the --env.snapshot
flag that you're passing to the CLI to prevent livesyncing with snapshot. However, you can edit your webpack config and enable the snapshot plugin from there - https://github.com/NativeScript/nativescript-dev-webpack/blob/master/templates/webpack.angular.js#L180.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh! I see. I can manage that in place of livesync 👍
Should be merged with
rebase and merge
.