Added crates.io and Pypi release steps to build_repositories job. Maybe it works, maybe it doesn't. We'll find out at next release.

This commit is contained in:
TC 2024-03-03 21:19:21 +00:00
parent a8abe155a9
commit 7431a5380a

View File

@ -122,6 +122,13 @@ build_repositories:
- build-orchestration
script:
- /home/gitlab-runner/distribute-packages.sh
- vlt login
- vlt run --command="cargo publish -p veilid-tools --dry-run"
- vlt run --command="cargo publish -p veilid-tools"
- vlt run --command="cargo publish -p veilid-core --dry-run"
- vlt run --command="cargo publish -p veilid-core"
- cd veilid-python && /home/gitlab-runner/.local/bin/poetry build
- vlt run --command="/home/gitlab-runner/.local/bin/poetry publish"
rules:
- if: '$CI_COMMIT_TAG =~ /v\d.+/'