Skip to content

fix: shorten APP_VERSION to 7-char git short SHA - #112

Merged
reloadfast merged 1 commit into
mainfrom
fix/version-too-long-108
Mar 2, 2026
Merged

reloadfast merged 1 commit into
mainfrom
fix/version-too-long-108

Conversation

@reloadfast

Copy link
Copy Markdown
Owner

Problem

APP_VERSION was set to sha-<full 40-char SHA> — a 44-character string that overlaps UI elements.

Fix

Replace with the standard 7-character git short SHA (e.g. abc1234).

How

Added a Set short SHA step before each build-push-action call:

echo "short=${GITHUB_SHA::7}" >> "$GITHUB_OUTPUT"

Both the matrix build job and the Trivy scan job updated.

Before: sha-a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2
After: a1b2c3d

Closes #108

Was: sha-<full 40-char SHA> (44 chars, overlaps UI elements)
Now: <first 7 chars> (e.g. abc1234) — standard git short SHA

Uses a 'Set short SHA' step (GITHUB_SHA::7) before each
build-push-action call in both the matrix build job and the
Trivy scan job.

Closes #108

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@reloadfast
reloadfast merged commit bb31ab4 into main Mar 2, 2026
7 checks passed
@reloadfast
reloadfast deleted the fix/version-too-long-108 branch March 2, 2026 14:24
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.

fix: new version numbering is too long

1 participant