Skip to content

Commit d76ab96

Browse files
committed
version: strip leading v from describe (badge adds its own; /info stays bare semver-style)
1 parent 5838ef8 commit d76ab96

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci-main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,9 @@ jobs:
384384
echo "rolling=${LABEL}-latest" >> "$GITHUB_OUTPUT"
385385
# Version baked into the binary's /info (relay dashboard badge):
386386
# exact tag on release commits, tag-distance-sha on snapshots.
387-
echo "describe=$(git describe --tags --always)" >> "$GITHUB_OUTPUT"
387+
# Leading "v" stripped — /info reports bare semver-style ("0.2.1",
388+
# "0.2.1-14-gabc1234"); display layers add their own "v".
389+
echo "describe=$(git describe --tags --always | sed 's/^v//')" >> "$GITHUB_OUTPUT"
388390
389391
- name: Build Docker image
390392
run: |

0 commit comments

Comments
 (0)