This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
VERSION=$(git describe --tags --always --dirty 2>/dev/null || echo "dev")
|
||||
VERSION=${1:-$(git describe --tags --always --dirty 2>/dev/null || echo "dev")}
|
||||
# Allow git to track changes to version.go
|
||||
git update-index --no-assume-unchanged version.go
|
||||
# Hardcode the version into main.go
|
||||
|
@@ -1,3 +1,3 @@
|
||||
package main
|
||||
|
||||
var Version = "dev"
|
||||
var Version = "v0.3.2"
|
||||
|
Reference in New Issue
Block a user