File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 9
9
- " main"
10
10
11
11
jobs :
12
- release :
12
+ create-permaref :
13
13
runs-on : ubuntu-latest
14
14
steps :
15
15
- name : Checkout
@@ -21,10 +21,10 @@ jobs:
21
21
# Enable pipefail so git command failures do not result in null versions downstream
22
22
set -x
23
23
24
- echo ::set-output name= LAST_PERMA_NUMBER:: $(\
24
+ echo " LAST_PERMA_NUMBER= $(\
25
25
git ls-remote --tags --refs --sort="v:refname" \
26
26
https://github.com/zanieb/pubgrub.git | grep "tags/perma-" | tail -n1 | sed 's/.*\/perma-//' \
27
- )
27
+ )" >> $GITHUB_OUTPUT
28
28
29
29
- name : Configure Git
30
30
run : |
34
34
- name : Create and push the new tag
35
35
run : |
36
36
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`'
38
38
git push origin "$TAG"
39
39
env :
40
40
LAST_PERMA_NUMBER : ${{ steps.get_version.outputs.LAST_PERMA_NUMBER }}
You can’t perform that action at this time.
0 commit comments