mirror of https://github.com/hrfee/jfa-go
parent
03247ddef8
commit
5892899114
@ -1,3 +1,5 @@
|
||||
#!/bin/bash
|
||||
# sets version environment variable for goreleaser to use
|
||||
# scripts/version.sh goreleaser ...
|
||||
JFA_GO_VERSION=$(git describe --exact-match HEAD 2> /dev/null || echo 'vgit')
|
||||
JFA_GO_VERSION="$(echo $JFA_GO_VERSION | sed 's/v//g')" $@
|
||||
|
Loading…
Reference in new issue