FS#76415 - [helmfile] helmfile reports version 0.0.0-dev

Attached to Project: Community Packages
Opened by Matthias Blaser (maetthu) - Friday, 04 November 2022, 10:13 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:04 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Christian Rebischke (Shibumi)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No



Since version helmfile-0.147.0 helmfile reports version 0.0.0-dev.

This commit seems to be the culprit:

https://github.com/helmfile/helmfile/commit/8f7796b260af0a253c6b63d464816b4e6867e228 (the build flags providing version info changed https://github.com/helmfile/helmfile/commit/8f7796b260af0a253c6b63d464816b4e6867e228#diff-42e26dc67aed8aa3edb2472b4403288c1699fb6dc47419b9a475f0f224fe4689)

Additional info:
* package version(s) helmfile-0.147.0

Steps to reproduce:

$ helmfile -version
helmfile version 0.0.0-dev

This will result in errors applying charts with lockfile:

in ./helmfile.yaml: [unable to resolve 1 deps: the lockfile was created by Helmfile v0.145.2, which is newer than current 0.0.0-dev; Please upgrade to Helmfile v0.145.2 or greater]

Earlier versions worked fine:

$ helmfile -version
helmfile version 0.146.0

This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:04 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/helmfile/issues/1
Comment by Kirill Pinchuk (cybergrind) - Monday, 21 November 2022, 13:41 GMT
This should fix it.
Comment by Frederik Boster (Syquel) - Thursday, 26 January 2023, 12:34 GMT
It would be great to additionally include `go.szostok.io/version.dirtyBuild=false` to remove the `-dev` Suffix of the reported version.

Comment by Frederik Boster (Syquel) - Monday, 08 May 2023, 14:12 GMT
This is still an issue after updating to helmfile 0.153.1-1