Skip to content

Commit

Permalink
Release version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lazyfrosch committed Jan 26, 2020
1 parent dec7415 commit 33e2fbb
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
45 changes: 45 additions & 0 deletions RELEASE.md
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
```
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

const Project = "check_hp_disk_firmware"
const Version = "0.9.0"
const Version = "1.0.0"

var GitCommit string

Expand Down

0 comments on commit 33e2fbb

Please sign in to comment.