Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Conversation

@sis0k0
Copy link
Contributor

@sis0k0 sis0k0 commented Apr 5, 2018

Should be merged with rebase and merge.

Thank you for your contribution!
## Publishing new versions
Copy link
Contributor

@vchimev vchimev Apr 5, 2018

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:
Copy link
Contributor

@vchimev vchimev Apr 5, 2018

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.

Copy link
Contributor Author

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
```
Copy link

@jogboms jogboms Apr 6, 2018

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?

Copy link
Contributor Author

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.

Copy link

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 👍

@sis0k0 sis0k0 merged commit 3b03c76 into master Apr 6, 2018
@sis0k0 sis0k0 deleted the sis0k0/0.10 branch April 6, 2018 11:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

5 participants