We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Void 5.4.0-86-generic x86_64 GenuineIntel uptodate rFF
age-1.0.0_1
age --version should print age's version number:
age --version
# age --version 1.0.0
age --version prints (devel):
(devel)
# age --version (devel)
$ docker run -it ghcr.io/void-linux/void-linux:20211130rc01-full-x86_64 /bin/sh # xbps-install --sync --update --yes age ... [*] Configuring unpacked packages age-1.0.0_1: configuring ... age-1.0.0_1: installed successfully. 1 downloaded, 1 installed, 0 updated, 1 configured, 0 removed. # age --version (devel)
age's version number needs to be set a build time by passing
-ldflags "-X main.Version=$VERSION"
to go build. For an example, see age's own build GitHub Action.
go build
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
System
Void 5.4.0-86-generic x86_64 GenuineIntel uptodate rFF
age-1.0.0_1
Expected behavior
age --version
should print age's version number:Actual behavior
age --version
prints(devel)
:Steps to reproduce the behavior
Explanation
age's version number needs to be set a build time by passing
to
go build
. For an example, see age's own build GitHub Action.The text was updated successfully, but these errors were encountered: