Skip to content

Commit 43b267d

Browse files
authored
Fix the tagging condition in GHA build job (#816)
1 parent 48d7252 commit 43b267d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test-library.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,15 +266,15 @@ 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)
269+
|| fromJSON(needs.pre-setup.outputs.release-requested)
270270
uses: fregante/[email protected]
271271
- name: >-
272272
Tag the release in the local Git repo
273273
as ${{ needs.pre-setup.outputs.git-tag }}
274274
for setuptools-scm to set the desired version
275275
if: >-
276276
fromJSON(needs.pre-setup.outputs.is-untagged-devel)
277-
&& fromJSON(needs.pre-setup.outputs.release-requested)
277+
|| fromJSON(needs.pre-setup.outputs.release-requested)
278278
run: >-
279279
git tag
280280
-m '${{ needs.pre-setup.outputs.git-tag }}'

0 commit comments

Comments
 (0)