mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Fix version
This commit is contained in:
@@ -32,11 +32,11 @@ go version
|
||||
Edit the "Version" variable in `pkg/version/version.go` and commit.
|
||||
|
||||
```
|
||||
export PREVVERSION=3.3.0 <<< Change to the previous version
|
||||
export VERSION=3.4.0 <<< Change to the new release version
|
||||
export PREVVERSION=3.3.0 <<< Change to the previous version
|
||||
export VERSION=3.4.0 <<< Change to the new release version
|
||||
git checkout master
|
||||
vi pkg/version/version.go <<< Change "Version" to new release version
|
||||
git commit -m'Release v'"$VERSION" pkg/version/version.go
|
||||
vi main.go <<< Change "Version" to new release version
|
||||
git commit -m'Release v'"$VERSION" main.go
|
||||
git tag v"$VERSION"
|
||||
git push origin tag v"$VERSION"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user