-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e8dc4a0
commit fe7ccd5
Showing
1 changed file
with
38 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Contributing Notes | ||
|
||
## Releasing | ||
|
||
Releases are made on a reasonably regular basis by the maintainers (HashiCorp staff), using our internal tooling. The following notes are only relevant to maintainers. | ||
|
||
Release process: | ||
|
||
1. Update [`version/VERSION`](https://github.com/hashicorp/hc-install/blob/main/version/VERSION) to remove `-dev` suffix and set it to the intended version to be released | ||
1. Wait for [`build` workflow](https://github.com/hashicorp/hc-install/actions/workflows/build.yml) to finish | ||
1. Ensure you have the appropriate GitHub PAT set in `BOB_GITHUB_TOKEN` variable | ||
1. Set `SHA` to the corresponding (long) last commit SHA (after updating `VERSION` file) & `VERSION` to the same version | ||
1. Use `bob` to promote artifacts to **staging** | ||
``` | ||
bob trigger-promotion \ | ||
--product-name=hc-install \ | ||
--environment=hc-install-oss \ | ||
--org=hashicorp \ | ||
--repo=hc-install \ | ||
--slack-channel=C01QDH3Q37W \ | ||
--product-version=$VERSION \ | ||
--sha=$SHA \ | ||
--branch=main \ | ||
staging | ||
``` | ||
1. Use `bob` to promote artifacts to **production** | ||
``` | ||
bob trigger-promotion \ | ||
--product-name=hc-install \ | ||
--environment=hc-install-oss \ | ||
--org=hashicorp \ | ||
--repo=hc-install \ | ||
--slack-channel=C01QDH3Q37W \ | ||
--product-version=$VERSION \ | ||
--sha=$SHA \ | ||
--branch=main \ | ||
production | ||
``` |