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
IllusionMH edited this page Feb 10, 2019
·
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]"
- 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
CHANGELOG.md
. Stable releases should contain list of new changes as well as full list of changes since previous stable release. - Make sure
package.json
andpackage-lock.json
contain the version you wish to publish - Update
README.md
to have the correct version numbers and links - Pull any recent git changes and rebuild:
git pull
npm run test
- Tag the master branch with the format [version]
git tag 0.0.1
git push --tags
- Create release for newly pushed tag
- Increase the version number in package.json and README.md to the next minor version and push
- Clone the repo again to a new folder:
git clone https://github.com/Microsoft/tslint-microsoft-contrib tslint-microsoft-contrib-releases
- Checkout branch
releases
git checkout releases
- Replace all files with the contents of
/dist/build
directory created frommaster
- Commit and push to remote
- tag the releases branch with the format
npm-[version]
git tag npm-2.0.10
git push --tags
- Follow the steps at https://docs.opensource.microsoft.com/releasing/build-your-project.html#npm
- Basically just send the email they want and wait a little while
- Include the npmjs.org user ids of all contributors: brndkfr, hamletdrc, dmanesku, joshuakgoldberg