Skip to content

Commit 7869fb7

Browse files
authored
Removed linkeddatahub- prefix from version in CI workflow (#225)
1 parent b174508 commit 7869fb7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/image.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: ci
1+
name: CI
22

33
on:
44
push:
@@ -24,7 +24,9 @@ jobs:
2424
- name: Extract version parts
2525
id: version
2626
run: |
27-
VERSION="${{ github.ref_name }}"
27+
RAW_REF="${{ github.ref_name }}"
28+
# strip the literal prefix
29+
VERSION="${RAW_REF#linkeddatahub-}"
2830
MAJOR="${VERSION%%.*}"
2931
MINOR="${VERSION%.*}"
3032
MINOR="${MINOR#*.}"

0 commit comments

Comments
 (0)