Skip to content

Commit 1b78ed6

Browse files
committed
Fix matching requested version with Git tag in GHA
1 parent c5dd39a commit 1b78ed6

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/test-library.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -264,15 +264,11 @@ jobs:
264264
--notest
265265
266266
- name: Setup git user as [bot]
267-
if: >-
268-
fromJSON(needs.pre-setup.outputs.is-untagged-devel)
269267
uses: fregante/[email protected]
270268
- name: >-
271269
Tag the release in the local Git repo
272270
as ${{ needs.pre-setup.outputs.git-tag }}
273-
for setuptools-scm to se the desired version
274-
if: >-
275-
fromJSON(needs.pre-setup.outputs.is-untagged-devel)
271+
for setuptools-scm to set the desired version
276272
run: >-
277273
git tag
278274
-m '${{ needs.pre-setup.outputs.git-tag }}'
@@ -783,7 +779,10 @@ jobs:
783779
Tag the release in the local Git repo
784780
as v${{ needs.pre-setup.outputs.git-tag }}
785781
run: >-
786-
git tag '${{ needs.pre-setup.outputs.git-tag }}'
782+
git tag
783+
-m '${{ needs.pre-setup.outputs.git-tag }}'
784+
'${{ needs.pre-setup.outputs.git-tag }}'
785+
--
787786
${{ github.event.inputs.release-commitish }}
788787
- name: >-
789788
Push ${{ needs.pre-setup.outputs.git-tag }} tag corresponding

0 commit comments

Comments
 (0)