Automate version bumps

This commit is contained in:
Lea Anthony
2019-03-10 17:02:12 +11:00
parent 670b769f82
commit 4821ab8597
4 changed files with 36 additions and 2 deletions

8
scripts/updateversion.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
TAG=$(git describe --abbrev=0 --tags)
cat << EOF > cmd/version.go
package cmd
// Version - Wails version
const Version = "${TAG}"
EOF