Skip to content

Conversation

@Guimove
Copy link
Contributor

@Guimove Guimove commented Jan 22, 2026

The PKGBUILD was building the binary without injecting the version string, causing the CLI to default to "unknown" version. This resulted in semver parsing errors when running 'qovery version' command on ArchLinux installations via AUR.

The build now uses ldflags to inject the version from $pkgver into the utils.Version variable, matching the behavior of GoReleaser builds.

Fixes the error: "error trying to get semver from raw string unknown"

The PKGBUILD was building the binary without injecting the version
string, causing the CLI to default to "unknown" version. This resulted
in semver parsing errors when running 'qovery version' command on
ArchLinux installations via AUR.

The build now uses ldflags to inject the version from $pkgver into
the utils.Version variable, matching the behavior of GoReleaser builds.

Fixes the error: "error trying to get semver from raw string `unknown`"
@Guimove Guimove merged commit 6f556b3 into main Jan 22, 2026
6 checks passed
@Guimove Guimove deleted the fix/aur-pkgbuild-version-injection branch January 22, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants