-
Notifications
You must be signed in to change notification settings - Fork 1
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
ce70e58
commit 5152af7
Showing
4 changed files
with
46 additions
and
14 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,33 @@ | ||
= Releasing a new version | ||
|
||
Steps to release a new version X.Y.Z, for maintainers. | ||
|
||
On branch `main`: | ||
|
||
== Update CHANGELOG | ||
|
||
Update CHANGELOG.md to reflect changes since last release, add the new release header. | ||
Follow http://keepachangelog.com[these guidelines]. + | ||
You can list git changes with: | ||
|
||
git log --oneline $(git describe --abbrev=0).. | ||
|
||
== Prepare for release | ||
|
||
Edit Makefile and set 'VERSION=X.Y.Z' for the new release. | ||
Make sure you are logged in to `quay.io/korrel8r` to push images. | ||
|
||
make clean; make pre-release REGISTRY_BASE=quay.io/korrel8r | ||
|
||
Use `git status` to verify that all changes are related to the version number change. | ||
|
||
Commit and push you changes to `origin/main` with commit message 'Release X.Y.Z' | ||
|
||
== Publish the release | ||
|
||
make release REGISTRY_BASE=quay.io/korrel8r | ||
|
||
This does the following: | ||
- `make clean` and re-build, verify nothing changes and the working tree is clean. | ||
- Creates and pushes the git tag 'vX.Y.Z' | ||
- Updates the 'latest' image tag to point to the new images. |
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 |
---|---|---|
|
@@ -444,4 +444,4 @@ | |
} | ||
} | ||
} | ||
} | ||
} |