diff --git a/.gopack.yml b/.gopack.yml index 4b93980..def1aae 100644 --- a/.gopack.yml +++ b/.gopack.yml @@ -5,4 +5,4 @@ includes: [] excludes: - \.git script: - - go build -tags bindata + - go build -tags bindata -ldflags "-X main.Version=$(git describe --tags --dirty --always)" diff --git a/deploy.sh b/deploy.sh index fc599d7..2eaef75 100755 --- a/deploy.sh +++ b/deploy.sh @@ -36,11 +36,12 @@ then fi # TODO: Replace app_xxx with correct application ID +V=$(git describe --tags --dirty --always) ./equinox release \ --channel="$CHANNEL" \ --version="$VERSION" \ --app="app_8Gji4eEAdDx" \ - --platforms="darwin_amd64 linux_amd64 linux_386" \ + --platforms="darwin_amd64 linux_amd64" \ --signing-key="equinox.key" \ --token="$EQUINOX_API_TOKEN" \ - -- -tags bindata -ldflags "-X main.Version=$TRAVIS_COMMIT" + -- -tags bindata -ldflags "-X main.Version=$V"