We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
latest
1 parent e4d8f15 commit 9af523aCopy full SHA for 9af523a
get_build_info.sh
@@ -1,5 +1,5 @@
1
#!/bin/bash
2
git rev-parse --short HEAD | tr -d "\n" > .git_commit
3
date +%FT%T%z | tr -d "\n" > .build_date
4
-git describe --tags --always | tr -d "\n" > .version
+git describe --tags --always --match "v*" | tr -d "\n" > .version
5
go version | awk '{print $3}' | tr -d "\n" > .go_version
0 commit comments