-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3450 from hashicorp/f-release-guide
Document release procedure
- Loading branch information
Showing
2 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
This guide provides step by step guidance for cutting a new release of Nomad. | ||
|
||
1. Bump the version in `version/version.go` | ||
2. Run `make prerelease` | ||
3. Commit any changed, generated files. | ||
4. On the Linux Vagrant run `make release` | ||
5. `mv pkg/ pkg2/`. We move the compiled packages such that when we run step 6, | ||
the binaries are deleted. | ||
6. On a Mac, run `make release` | ||
7. `mv pkg2/* pkg/`. This moves all the binaries into the same folder and thus | ||
we are ready for releasing. | ||
8. Ensure you have the hc-release environment variables set for being able to | ||
read/write to S3. This can be retrieved from 1password. | ||
9. `./scripts/dist.sh <version>`. Formating of <version> is 0.x.x(-|rcx|betaX) | ||
|
||
# Only on final releases | ||
|
||
1. Add the new version to checkpoint. | ||
|
||
# Modifying the website | ||
|
||
Assuming master is the branch you want the website to reflect | ||
|
||
1. On master, bump the version in `website/config.rb` | ||
2. Delete the remote stable-website branch (`git push -d origin stable-website`) | ||
3. Create the new stable webiste, `git checkout -b stable-website` | ||
4. `git push origin stable-website` | ||
5. In Slack run, `hashibot deploy nomad` |