Skip to content
Steve Heffernan edited this page Sep 23, 2015 · 1 revision

Specific to 5.0.0. A backup list in case anything bad happens.

git checkout master git pull upstream master git checkout stable git pull upstream stable git merge master

[ "npm install", "Ensure dependency updates have been installed" ], [ "grunt test", "Run tests" ], [ "grunt version:{{release_type}}", "Bump package versions" ], [ "./build/bin/version", "Return the current VJS Version from the package.json file", "version" ], [ "grunt chg-release:{{ version }}", "Update the changelog with the new release" ], [ "grunt vjsdocs", "Rebuild the docs" ], // Doesn't apply now but need to know docs process [ "grunt cdn-links", "Update the cdn urls in the docs" ], // same as above [ "git commit -am 'v{{version}}'", "Add and commit the package changes" ], [ "git checkout master", "Checkout the developmet branch" ], [ "git merge stable", "Merge package changes into the dev brach" ], [ "git push upstream master", "Push the dev branch changes to the repo" ], [ "git push upstream stable", "Push the release branch changes to the repo" ], [ "git checkout -b temp-release-branch master","Create a temporary branch for the dist" ], [ "grunt dist", "Build the dist" ], [ "git add dist --force", "Add the (otherwise ignored) release files" ], [ "git commit -m 'v{{version}} dist'", "Commit the dist changes" ], [ "git tag -a v{{version}} -m 'v{{version}}'", "Tag the release" ], [ "git push upstream --tags", "Push the new tag to the repo" ], [ "npm publish", "Publish to npm" ], [ "grunt github-release", "Create a new release on Github" ], [ "git checkout master", "Checkout the developmet branch" ], [ "git branch -D temp-release-branch", "Delete the temp release branch" ]

Clone this wiki locally