File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 99 - " main"
1010
1111jobs :
12- release :
12+ create-permaref :
1313 runs-on : ubuntu-latest
1414 steps :
1515 - name : Checkout
@@ -21,10 +21,10 @@ jobs:
2121 # Enable pipefail so git command failures do not result in null versions downstream
2222 set -x
2323
24- echo ::set-output name= LAST_PERMA_NUMBER:: $(\
24+ echo " LAST_PERMA_NUMBER= $(\
2525 git ls-remote --tags --refs --sort="v:refname" \
2626 https://github.com/zanieb/pubgrub.git | grep "tags/perma-" | tail -n1 | sed 's/.*\/perma-//' \
27- )
27+ )" >> $GITHUB_OUTPUT
2828
2929 - name : Configure Git
3030 run : |
3434 - name : Create and push the new tag
3535 run : |
3636 TAG="perma-$((LAST_PERMA_NUMBER + 1))"
37- git tag -a "$TAG" -m " Automatically created on push to `main`"
37+ git tag -a "$TAG" -m ' Automatically created on push to `main`'
3838 git push origin "$TAG"
3939 env :
4040 LAST_PERMA_NUMBER : ${{ steps.get_version.outputs.LAST_PERMA_NUMBER }}
You can’t perform that action at this time.
0 commit comments