diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 058d2e6..74ffcf5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -50,7 +50,7 @@ jobs: output=aztfy.exe fi - GOOS="${OS}" GOARCH="${ARCH}" CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o $output + GOOS="${OS}" GOARCH="${ARCH}" CGO_ENABLED=0 go build -trimpath -ldflags="-s -w -X 'main.version=${VERSION}'" -o $output pkg="aztfy_${VERSION}_${OS}_${ARCH}.zip" zip $pkg $output rm $output diff --git a/version.go b/version.go index 11abb02..0c3524f 100644 --- a/version.go +++ b/version.go @@ -1,3 +1,3 @@ package main -var version string = "v0.0.8" +var version string = "dev"