Skip to content

Commit 7d7f893

Browse files
committed
ci: fixed tag finder
1 parent 32c260d commit 7d7f893

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/pypi.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
3838

3939
- name: "Get Previous tag"
40-
id: previoustag
40+
id: previoustagold
4141
uses: "WyriHaximus/github-action-get-previous-tag@v1"
4242

4343
- name: Conventional Changelog Action
@@ -53,7 +53,11 @@ jobs:
5353
skip-commit: true
5454
skip-ci: false
5555
skip-tag: ${{ github.ref_name != 'main' }}
56-
fallback-version: ${{ steps.previoustag.outputs.tag }}
56+
fallback-version: ${{ steps.previoustagold.outputs.tag }}
57+
58+
- name: "Get Previous tag"
59+
id: previoustag
60+
uses: "WyriHaximus/github-action-get-previous-tag@v1"
5761

5862
- uses: actions/setup-python@v5
5963
with:

0 commit comments

Comments
 (0)