Skip to content

Commit

Permalink
fix: Switch to uniform version names
Browse files Browse the repository at this point in the history
Go1.24 might finally embed git tags in builds.
For now it's just going to say devel.
  • Loading branch information
ananthb committed Aug 7, 2024
1 parent cf8f2d8 commit a7d810c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set -euo pipefail

app="$(basename "$PWD")"

VERSION="${VERSION:-(devel)}"
VERSION="${VERSION:-devel}"

rm -rf bin
mkdir -p bin
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func main() {
flag.Parse()

if *version {
ver := "(unknown)"
ver := "(devel)"
if info, ok := debug.ReadBuildInfo(); ok {
ver = info.Main.Version
}
Expand Down

0 comments on commit a7d810c

Please sign in to comment.