Skip to content

Commit 388dd6a

Browse files
authored
Update release action to fetch tag (#138)
1 parent 98cfce1 commit 388dd6a

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
kind: Under the Hood
2+
body: Fix release action to fetch tags
3+
time: 2025-06-02T17:27:11.518993+02:00

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313
jobs:
1414
create-release-tag:
1515
runs-on: ubuntu-latest
16+
outputs:
17+
changie-latest: ${{ steps.changie-latest.outputs.output }}
1618
if: "startsWith(github.event.head_commit.message, 'version:')"
1719
steps:
1820
- uses: actions/checkout@v4
@@ -40,8 +42,12 @@ jobs:
4042
id-token: write
4143

4244
steps:
45+
4346
- name: checkout code
4447
uses: actions/checkout@v4
48+
with:
49+
ref: ${{ needs.create-release-tag.outputs.changie-latest }}
50+
fetch-tags: true
4551

4652
- name: setup python
4753
uses: ./.github/actions/setup-python

0 commit comments

Comments
 (0)