Skip to content

Commit 7d783b7

Browse files
committed
chore(ci): capture release tag for gh-release action to fix missing tag error
1 parent 553dc4c commit 7d783b7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ jobs:
4040
run: uv run cz bump --yes
4141
continue-on-error: true
4242

43+
- name: Get Release Tag
44+
id: get_tag
45+
if: steps.cz.outcome == 'success'
46+
run: echo "REVISION=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
47+
4348
- name: Push Code and Tags
4449
if: steps.cz.outcome == 'success'
4550
run: |

0 commit comments

Comments
 (0)