Skip to content

Simplify version/commit injection into build artifacts#107

Merged
mclasmeier merged 5 commits into
mainfrom
mc/drop-release-commit
Apr 20, 2026
Merged

Simplify version/commit injection into build artifacts#107
mclasmeier merged 5 commits into
mainfrom
mc/drop-release-commit

Conversation

@mclasmeier
Copy link
Copy Markdown
Collaborator

@mclasmeier mclasmeier commented Apr 19, 2026

The current injection of version+commit into the build artifacts is unnecessarily complicated. Also, it doesn't yield what is expected: short version identifiers (without commit) for releases:

❯ podman run --rm -it quay.io/rhacs-eng/roxie:v0.2.0 version
roxie version v0.2.0-000f8cb0a60d8161d9e3d4e42d0d3ca091ab84d8 (2026-04-16T10:09:10Z)

With this change, the setup becomes simpler and releases have a shorter version, lacking the commit.

@mclasmeier mclasmeier requested a review from AlexVulaj April 20, 2026 17:00
@AlexVulaj
Copy link
Copy Markdown
Contributor

.github/workflows/docker-build.yml still references make get-commit-hash (line 49) and passes GIT_COMMIT as a build arg (line 74), but both were removed in this PR. Docker image builds will fail after merge.

Comment thread flake.nix
@mclasmeier mclasmeier requested a review from AlexVulaj April 20, 2026 18:09
@mclasmeier mclasmeier merged commit aae918c into main Apr 20, 2026
3 checks passed
@mclasmeier mclasmeier deleted the mc/drop-release-commit branch May 18, 2026 11:09
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