mirror of
https://github.com/taigrr/wails.git
synced 2026-04-02 05:08:54 -07:00
Automate version bumps
This commit is contained in:
8
scripts/updateversion.sh
Executable file
8
scripts/updateversion.sh
Executable 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
|
||||
Reference in New Issue
Block a user