mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
2.0 KiB
2.0 KiB
Release checklist
This checklist should be worked through when releasing a new Serverless version.
More info about our release process can be found in the RELEASE_PROCESS.md document.
Pre-Release
- Look through all open issues and PRs (if any) of that milestone and close them / move them to another milestone if still open
- Create a new branch for the release
- Bump the version number in
package.json - Run
./scripts/prs-since-last-tag <OLD-TAG> - Save the terminal output to your clipboard
- Close the milestone on GitHub
- Create a new draft release in GitHub
- Use the content in your clipboard as a description (without the heading)
- Ensure that the "Tag version" follows our naming convention
Prepare Package
- Install the latest
npmversion or Docker container with latestnodeandnpm(Ensure to work with annpmversion which is distributed with latestnodeversion) - Update
CHANGELOG.mdwith the content from your clipboard - Make sure all files that need to be pushed are included in
package.json -> files - Commit your changes (make sure that
package.jsonandCHANGELOG.mdare updated) - Push your branch and open up a new PR
- Await approval and merge the PR into
master - Go back to the branch you want to release from (e.g.
master) and pull the changes from GitHub - Make sure there are no local changes to your repository (or reset with
git reset --hard HEAD) - Check
package.jsonversion config to make sure it fits what we want to release
Releasing
- Publish the GitHub release draft (Travis CI will automatically publish the new release to
npm) - Update the branch ref in the site repo so docs are updated: https://github.com/serverless/site/blob/master/scripts/docs/config.js#L8
Validate Release
- Validate that
npm installworks (npm install -g serverless@<new-tag>ornpm install -g serverlessif latest is released)