Skip to content

Commit 9868a07

Browse files
authored
Revert "Fix matching requested version with Git tag in GHA (#815)"
This reverts commit 48d7252.
1 parent 48d7252 commit 9868a07

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/test-library.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -266,15 +266,13 @@ jobs:
266266
- name: Setup git user as [bot]
267267
if: >-
268268
fromJSON(needs.pre-setup.outputs.is-untagged-devel)
269-
&& fromJSON(needs.pre-setup.outputs.release-requested)
270269
uses: fregante/[email protected]
271270
- name: >-
272271
Tag the release in the local Git repo
273272
as ${{ needs.pre-setup.outputs.git-tag }}
274-
for setuptools-scm to set the desired version
273+
for setuptools-scm to se the desired version
275274
if: >-
276275
fromJSON(needs.pre-setup.outputs.is-untagged-devel)
277-
&& fromJSON(needs.pre-setup.outputs.release-requested)
278276
run: >-
279277
git tag
280278
-m '${{ needs.pre-setup.outputs.git-tag }}'
@@ -785,10 +783,7 @@ jobs:
785783
Tag the release in the local Git repo
786784
as v${{ needs.pre-setup.outputs.git-tag }}
787785
run: >-
788-
git tag
789-
-m '${{ needs.pre-setup.outputs.git-tag }}'
790-
'${{ needs.pre-setup.outputs.git-tag }}'
791-
--
786+
git tag '${{ needs.pre-setup.outputs.git-tag }}'
792787
${{ github.event.inputs.release-commitish }}
793788
- name: >-
794789
Push ${{ needs.pre-setup.outputs.git-tag }} tag corresponding

0 commit comments

Comments
 (0)