New issue
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
Packaging func cli for openSUSE: How to make it properly report the version? #2235
Comments
Hello Jonannes, Thank you for your issue. I tried the following (similar) command:
Can you try running the same command, and ensure you're building the latest |
Hi @lkingland |
Yes, if you are using the latest tagged version, the path of those ldflags is different than building from |
I am going to close this because it is clear that you're using the correct LDLFAGS for |
For the record, with 0.41.0 aka 1.14.0 the LDFLAGS are working and the package reports back the versions properly:
|
Hi all,
I am trying to package the func CLI for the openSUSE linux distribution. The executable itself is working, however I cannot for the life of me figure out how to have it properly report the version.
As far as I put together from the Makefile and various other build scripts, the following invocation should do the trick. But all I get is
v0.0.0+source
when callingfunc version
These are the relevant parts of the spec file that is used to build the RPM package (where no network connectivity is present, hence all information must be provided beforehand).
What am I missing?
Thanks in advance.
Kind Regards,
Johannes
The text was updated successfully, but these errors were encountered: