helmfile reports version 0.0.0-dev

Task Info (Flyspray)
Opened By Matthias Blaser (maetthu)
Task ID 76415
Type Bug Report
Project Community Packages
Category Packages
Version None
OS All
Opened 2022-11-04 10:13:56 UTC
Status Assigned
Assignee Christian Rebischke (Shibumi)

Details

Description:

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