-
Notifications
You must be signed in to change notification settings - Fork 212
release
Nicolas Rannou edited this page Nov 6, 2017
·
12 revisions
On #dev branch:
Update package version (x.x.x).
package.json
Update the build
$> yarn gen:index:lessons:cdn
$> yarn build:ami && yarn build:ami:prod
Commit changes.
git commit -am "x.x.x"
Go to #master branch.
git checkout master
Merge #dev into #master.
git merge --no-ff dev
Tag master.
git tag x.x.x
Push code
git push origin master
git push --tags
Publish to NPM
npm publish
Go back to #dev branch.
git checkout dev
Update package version. (x.x.x-dev)
package.json
Update build version
$> yarn build:ami && yarn build:ami:prod
Commit changes
git commit -am "x.x.x-dev"
Push code
git push origin dev