-
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
dec7415
commit 33e2fbb
Showing
2 changed files
with
46 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Release Workflow | ||
|
||
Specify the release version. | ||
|
||
``` | ||
VERSION=1.0.0 | ||
``` | ||
|
||
## Issues | ||
|
||
Check issues at https://github.com/NETWAYS/check_hp_disk_firmware | ||
|
||
## Authors | ||
|
||
Update the [.mailmap](.mailmap) and [AUTHORS](AUTHORS) files: | ||
|
||
git checkout master | ||
git log --use-mailmap | grep ^Author: | cut -f2- -d' ' | sort | uniq > AUTHORS | ||
|
||
## Update metadata | ||
|
||
Update version in `version.go`: | ||
|
||
sed -i 's/const Version =.*/const Version = "'"$VERSION"'"/' version.go | ||
|
||
## Git Tag | ||
|
||
Commit these changes to the "master" branch: | ||
|
||
``` | ||
git commit -v -a -m "Release version $VERSION" | ||
git push origin master | ||
``` | ||
|
||
And tag it with a signed tag: | ||
|
||
``` | ||
git tag -s -m "Version $VERSION" v$VERSION | ||
``` | ||
|
||
Push the tag. | ||
|
||
``` | ||
git push --tags | ||
``` |
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