-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial documentation on how to release flintlock has been added. These instructions will need to be updated when we start to support prior versions (i.e with release branches). Signed-off-by: Richard Case <[email protected]>
- Loading branch information
1 parent
7596811
commit 4a0d255
Showing
3 changed files
with
49 additions
and
11 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
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,38 @@ | ||
# Releasing Flintlock | ||
|
||
> These instructions will change when we start supporting previous versions whilst using main for future versions. | ||
## Determine release version | ||
|
||
The projects follows [semantic versioning](https://semver.org/#semantic-versioning-200) and so the release version must adhere to this specification. Depending on the changes in the release you will need to decide the next appropriate version number. | ||
|
||
## Create tag | ||
|
||
* Checkout upstream main | ||
* Create a tag with the version number: | ||
|
||
```bash | ||
RELEASE_VERSION=v0.1.0-alpha.1 | ||
git tag -s ${RELEASE_VERSION} -m "${RELEASE_VERSION} | ||
``` | ||
* Push the tag (to upstream if working from a fork) | ||
``` bash | ||
git push origin ${RELEASE_VERSION} | ||
``` | ||
* Check the [release](https://github.com/weaveworks/flintlock/actions/workflows/release.yml) GitHub Actions workflow completes successfully. | ||
## Edit & Publish GitHub Release | ||
* Got to the draft release in GitHub. | ||
* Make any edits to generated release notes | ||
* If there are any breaking changes then manually add a note at the beginning of the release notes informing the user what they need to be aware of/do. | ||
* Sometimes you may want to combine changes into 1 line | ||
* If this is a pre-release tick `This is a pre-release` | ||
* Publish the draft release and when asked say yes to creating a discussion. | ||
## Announce release | ||
When the release is available announce it in the #liquid-metal slack channel. |