Skip to content

Commit

Permalink
Fix matching requested version with Git tag in GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Nov 27, 2021
1 parent c5dd39a commit b9c9c3a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test-library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,7 @@ jobs:
- name: >-
Tag the release in the local Git repo
as ${{ needs.pre-setup.outputs.git-tag }}
for setuptools-scm to se the desired version
if: >-
fromJSON(needs.pre-setup.outputs.is-untagged-devel)
for setuptools-scm to set the desired version
run: >-
git tag
-m '${{ needs.pre-setup.outputs.git-tag }}'
Expand Down Expand Up @@ -783,7 +781,10 @@ jobs:
Tag the release in the local Git repo
as v${{ needs.pre-setup.outputs.git-tag }}
run: >-
git tag '${{ needs.pre-setup.outputs.git-tag }}'
git tag
-m '${{ needs.pre-setup.outputs.git-tag }}'
'${{ needs.pre-setup.outputs.git-tag }}'
--
${{ github.event.inputs.release-commitish }}
- name: >-
Push ${{ needs.pre-setup.outputs.git-tag }} tag corresponding
Expand Down

0 comments on commit b9c9c3a

Please sign in to comment.