File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed
Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -118,16 +118,24 @@ jobs:
118118 repository : jedisct1/libsodium
119119 submodules : recursive
120120
121+ # - name: Checkout latest Tag
122+ # shell: bash
123+ # run: |
124+ # git fetch --tags
125+ # LATEST_TAG=$(git tag --sort=-v:refname | head -1)
126+ # git checkout "$LATEST_TAG"
127+ # VERSION="${LATEST_TAG%-RELEASE}"
128+ # VERSION="${VERSION%-FINAL}"
129+ # echo "version=$VERSION" >> $GITHUB_OUTPUT
130+
121131 - name : Checkout latest Tag
132+ id : print-version
122133 shell : bash
123134 run : |
124- git fetch --tags
125- LATEST_TAG=$(git tag --sort=-v:refname | head -1)
126- git checkout "$LATEST_TAG"
127- VERSION="${LATEST_TAG%-RELEASE}"
128- VERSION="${VERSION%-FINAL}"
129- echo "version=$VERSION" >> $GITHUB_OUTPUT
130-
135+ git fetch
136+ git checkout stable
137+ echo "version=1.0.21" >> $GITHUB_OUTPUT
138+
131139 - name : Setup Alpine Linux for x64
132140 uses : jirutka/setup-alpine@v1
133141 with :
You can’t perform that action at this time.
0 commit comments