File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -289,7 +289,17 @@ pipeline:
289289 connectorRef : account.harbor
290290 image : harbor.devops.indico.io/indico/<+pipeline.variables.service>:<+pipeline.stages.build_info.spec.execution.steps.build_info.output.outputVariables.TEST_IMAGE_TAG>
291291 shell : Sh
292- command : echo "release"
292+ command : |-
293+ #!/bin/bash
294+ TAG="<+trigger.tag>"
295+ git fetch origin tag $TAG
296+ rm -rf /indico-client/dist
297+ pip3 install twine==3.3.0
298+ python3 setup.py sdist
299+ echo "checking dist files at '.dist/*'"
300+ twine check .dist/*
301+ echo "uploading release ${TAG}"
302+ twine upload -u __token__ -p <+stage.variables.pypi_token> .dist/*
293303 when :
294304 stageStatus : Success
295305 condition : <+<+execution.steps.Info.output.outputVariables.RUN_RELEASE> == "true">
You can’t perform that action at this time.
0 commit comments