Skip to content

fix: install gitsemver in create-release build artifacts job - #194

Merged
piontec merged 1 commit into
mainfrom
fix/install-gitsemver-in-create-release
Jun 1, 2026
Merged

fix: install gitsemver in create-release build artifacts job#194
piontec merged 1 commit into
mainfrom
fix/install-gitsemver-in-create-release

Conversation

@piontec

@piontec piontec commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a gitsemver install step to the create_and_upload_build_artifacts job in create-release.yaml

Background

Makefile.gen.go.mk (generated by devctl) was updated to compute the build version with:

VERSION := $(shell gitsemver version)

This was introduced as part of the architect-orb v9.0.0 migration where gitsemver replaced architect project version as the canonical version-stamping tool. In CircleCI, gitsemver is bundled inside the architect executor image. On GHA runners it is not present.

Without this fix, gitsemver is missing on the runner → VERSION evaluates to empty → the binary is built as e.g. devctl-v-linux-amd64 → the upload step looks for devctl-v8.0.0-linux-amd64.tar.gzstat: no such file or directory → job fails.

Observed failing run: https://github.com/giantswarm/devctl/actions/runs/26753246655/job/78846384928

Test plan

  • Re-run a release workflow in a repo that uses build-release-artifacts: true and verify all platform packages are built and uploaded successfully

Makefiles generated by devctl now use `gitsemver version` to compute
the build version (introduced with architect-orb v9.0.0). The GHA
runner doesn't have gitsemver pre-installed, causing VERSION to be
empty and the packaged artifact to be named without the version string,
so the upload step fails to find the expected file.
@piontec
piontec requested a review from a team as a code owner June 1, 2026 13:31
@piontec
piontec merged commit d6cad6d into main Jun 1, 2026
1 check passed
@piontec
piontec deleted the fix/install-gitsemver-in-create-release branch June 1, 2026 13:35
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.

2 participants