Fix the tagging condition in GHA build job (#816)
This commit is contained in:
parent
48d7252fc3
commit
43b267dd55
|
@ -266,7 +266,7 @@ jobs:
|
|||
- name: Setup git user as [bot]
|
||||
if: >-
|
||||
fromJSON(needs.pre-setup.outputs.is-untagged-devel)
|
||||
&& fromJSON(needs.pre-setup.outputs.release-requested)
|
||||
|| fromJSON(needs.pre-setup.outputs.release-requested)
|
||||
uses: fregante/setup-git-user@v1.0.1
|
||||
- name: >-
|
||||
Tag the release in the local Git repo
|
||||
|
@ -274,7 +274,7 @@ jobs:
|
|||
for setuptools-scm to set the desired version
|
||||
if: >-
|
||||
fromJSON(needs.pre-setup.outputs.is-untagged-devel)
|
||||
&& fromJSON(needs.pre-setup.outputs.release-requested)
|
||||
|| fromJSON(needs.pre-setup.outputs.release-requested)
|
||||
run: >-
|
||||
git tag
|
||||
-m '${{ needs.pre-setup.outputs.git-tag }}'
|
||||
|
|
Loading…
Reference in New Issue