Unverified Commit afdf609a authored by Roberto Sora's avatar Roberto Sora Committed by GitHub

Replace default dummy version (#415)

* replace default dummy version that overlaps with a real version with an explicit dummy version

* remove redundant VERSIONSTRING build var from taskfile
parent 8425d79b
......@@ -63,12 +63,10 @@ vars:
sh: echo `go list ./... | grep -v legacy | tr '\n' ' '`
# build vars
VERSIONSTRING: "0.3.7-alpha.preview"
COMMIT:
sh: echo ${TRAVIS_COMMIT:-`git log -n 1 --format=%h`}
LDFLAGS: >
-ldflags '-X github.com/arduino/arduino-cli/version.versionString={{.VERSIONSTRING}}
-X github.com/arduino/arduino-cli/version.commit={{.COMMIT}}'
-ldflags '-X github.com/arduino/arduino-cli/version.commit={{.COMMIT}}'
# test vars
GOFLAGS: "-timeout 10m -v -coverpkg=./... -covermode=atomic"
......
......@@ -22,7 +22,7 @@ import (
)
var (
defaultVersionString = "0.3.7-alpha.preview"
defaultVersionString = "0.0.0-git"
versionString = ""
commit = ""
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment