This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 198
Releases
Josh Goldberg edited this page Jul 25, 2018
·
24 revisions
- The npm package is published by the Microsoft account
- Directions for publishing with the Microsoft Account are available with CORPNET access
- Releases are made from the "master" branch and tagged with the format "[version]"
- The npm packages are pushed to the "releases" branch and tagged with the format "npm-[version]"
- Make sure there are 0 closed issues without a milestone. Assign milestone as needed using this query
- Close the milestone
- Open the next milestone
- Update the Release Notes
- make sure package.json contains the version you which to publish
- update README.md to have the correct version numbers and links
- git pull
git pull
- tag the master branch with the format [version]
git tag 0.0.1
git push --tags
- git clone git@github.com:Microsoft/tslint-microsoft-contrib.git tslint-microsoft-contrib-releases
- Checkout branch releases
- Replace all files with the contents of /dist/build directory created from master
- Commit and push to remote
- tag the releases branch with the format npm-[version]
git tag npm-2.0.10
git push --tags
- Go back to the master branch, increase the version number in package.json and README.md, and push
- Follow the steps at https://opensourcehub2.microsoft.com/articles/how-to-publish-npm-package
- Basically just send the email they want and wait a little while
- Include the npmjs.org user ids of all contributors: brndkfr, hamletdrc, dmanesku