3 Commits
Author SHA1 Message Date
Kyle Schwarz dffb0bcefb CI: Deploy: Also push git history 2026-11-01 18:04:33 -05:00
Kyle Schwarz f4fe69f992 CI: Adjust twine upload args 2026-11-01 11:28:02 -05:00
Kyle Schwarz 7ff14ae86d CI: Add tag upload & deploy 2026-10-31 11:24:38 -04:00
+10 -2
View File
@@ -329,9 +329,10 @@ deploy python/pypi:
image: python:3.13
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_TAG
script:
- python3 -m pip install -U twine
- twine upload wheelhouse/*
- twine upload --verbose wheelhouse/*
dependencies:
- build python/linux/amd64
- build python/linux/arm64
@@ -353,10 +354,17 @@ push github:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: delayed
start_in: 10 minutes
variables:
REFSPEC: HEAD:master
- if: $CI_COMMIT_TAG
when: delayed
start_in: 10 minutes
variables:
REFSPEC: $CI_COMMIT_TAG
dependencies:
- deploy python/pypi
needs:
- deploy python/pypi
script:
- apk add git
- git push https://$LIBICSNEO_GITHUB_USERNAME:$LIBICSNEO_GITHUB_TOKEN@github.com/intrepidcs/libicsneo.git HEAD:master
- git push https://$LIBICSNEO_GITHUB_USERNAME:$LIBICSNEO_GITHUB_TOKEN@github.com/intrepidcs/libicsneo.git $REFSPEC