Skip to content

Commit 48b9cf1

Browse files
committed
Fix the dist version for manual requests
1 parent a37d407 commit 48b9cf1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci-cd.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,14 @@ jobs:
169169
id: artifact_name
170170
run: |
171171
print('::set-output name=sdist::ansible-pygments-${{
172-
steps.scm_version.outputs.dist_version
172+
steps.tagged_check.outputs.release_requested == 'true'
173+
&& github.event.inputs.release-version
174+
|| steps.scm_version.outputs.dist_version
173175
}}.tar.gz')
174176
print('::set-output name=wheel::ansible_pygments-${{
175-
steps.scm_version.outputs.dist_version
177+
steps.tagged_check.outputs.release_requested == 'true'
178+
&& github.event.inputs.release-version
179+
|| steps.scm_version.outputs.dist_version
176180
}}-py3-none-any.whl')
177181
178182
build:

0 commit comments

Comments
 (0)