mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 17:05:43 +03:00
1.2 KiB
1.2 KiB
This guide provides step by step guidance for cutting a new release of Nomad.
- Bump the version in
version/version.go - Run
make prerelease - Commit any changed, generated files.
- On the Linux Vagrant run
make release mv pkg/ pkg2/. We move the compiled packages such that when we run step 6, the binaries are deleted.- On a Mac, run
make release mv pkg2/* pkg/. This moves all the binaries into the same folder and thus we are ready for releasing.- Ensure you have the hc-release environment variables set for being able to read/write to S3. This can be retrieved from 1password.
./scripts/dist.sh <version>. Formating of is 0.x.x(-|rcx|betaX)- Bump the version to the new dev version.
- Remove the generated files and commit
Only on final releases
- Add the new version to checkpoint.
Modifying the website
Assuming master is the branch you want the website to reflect
- On master, bump the version in
website/config.rb - Delete the remote stable-website branch (
git push -d origin stable-website) - Create the new stable webiste,
git checkout -b stable-website git push origin stable-website- In Slack run,
hashibot deploy nomad