Skip to content

Commit f5a0b7d

Browse files
committed
remove id used for testing, fix musl build as well
1 parent 99bc109 commit f5a0b7d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/sodium.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828
submodules: recursive
2929

3030
- name: Checkout latest Tag
31-
id: print-version
3231
shell: bash
3332
run: |
3433
git fetch --tags
@@ -113,8 +112,11 @@ jobs:
113112
shell: bash
114113
run: |
115114
git fetch --tags
116-
LATEST_TAG=$(git tag | grep -E ^[0-9]+.[0-9]+.[0-9]+$ | tail -1)
115+
LATEST_TAG=$(git tag --sort=-v:refname | head -1)
117116
git checkout "$LATEST_TAG"
117+
VERSION="${LATEST_TAG%-RELEASE}"
118+
VERSION="${VERSION%-FINAL}"
119+
echo "version=$VERSION" >> $GITHUB_OUTPUT
118120
119121
- name: Setup Alpine Linux for x64
120122
uses: jirutka/setup-alpine@v1

0 commit comments

Comments
 (0)