Skip to content

Commit ef0e148

Browse files
committed
fix tag generation
1 parent fb0d6c3 commit ef0e148

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
packages: write
1616
steps:
1717
- name: Set TAG env
18-
run: echo "TAG=$(echo ${GITHUB_REF:11})" >> $GITHUB_ENV
18+
run: echo "TAG=$(echo ${GITHUB_REF#refs/*/})" >> $GITHUB_ENV
1919
- name: Checkout
2020
uses: actions/checkout@v4
2121
- name: Set up QEMU
@@ -44,7 +44,7 @@ jobs:
4444
contents: write
4545
steps:
4646
- name: Set TAG env
47-
run: echo "TAG=$(echo ${GITHUB_REF:11})" >> $GITHUB_ENV
47+
run: echo "TAG=$(echo ${GITHUB_REF#refs/*/})" >> $GITHUB_ENV
4848
- name: Generate release notes
4949
uses: actions/github-script@v7
5050
with:

0 commit comments

Comments
 (0)