cmd/age,cmd/age-keygen: remove unnecessary injected Version

golang/go#50603 started stamping the VCS tag version.
This commit is contained in:
Filippo Valsorda
2025-11-17 11:53:52 +01:00
parent 15153e699f
commit 20eba7e285
3 changed files with 1 additions and 19 deletions

View File

@@ -38,7 +38,7 @@ jobs:
DIR="$(mktemp -d)"
mkdir "$DIR/age"
cp "$RUNNER_TEMP/LICENSE" "$DIR/age"
go build -o "$DIR/age" -ldflags "-X main.Version=$VERSION" -trimpath ./cmd/...
go build -o "$DIR/age" -trimpath ./cmd/...
if [ "$GOOS" == "windows" ]; then
sudo apt-get update && sudo apt-get install -y osslsigncode
if [ -n "${{ secrets.SIGN_PASS }}" ]; then