Skip to content
Snippets Groups Projects
Verified Commit 7be356a1 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Do not publish to pypi

parent fa8673ca
No related branches found
No related tags found
1 merge request!55WIP: Resolve "Migrate to AlekSIS app"
......@@ -18,5 +18,17 @@ include:
file: /ci/build/dist.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/docker/dist.yml
- project: "AlekSIS/official/AlekSIS"
file: /ci/publish/pypi.yml
deploy_gitlab:
interruptible: true
stage: publish
script:
- if [ x$CI_COMMIT_REF_NAME = x$CI_COMMIT_TAG ]; then
if ! [ "$(poetry version | cut -d" " -f2)" = $CI_COMMIT_REF_NAME ]; then
echo "Package version does not match tag. Aborting build of tag!" >/dev/fd/2 ;
exit 1 ;
fi ;
else
poetry version $(poetry version | cut -d" " -f2)+$(date --date=${CI_COMMIT_TIMESTAMP} +%Y%m%d%H%M%S).${CI_COMMIT_SHORT_SHA} ;
fi
- poetry publish -r gitlab
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment