Uncommented Crate and Pypi publishing [skip ci]

This commit is contained in:
TC Johnson 2025-02-18 21:25:41 -06:00
parent d109780092
commit 777b3866fb

View File

@ -9,8 +9,8 @@ stages:
- prepare
- test
- build_packages
- release
- distribute
- release
- failed
format:
@ -196,33 +196,33 @@ package_amd64_rpm:
rules:
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
#publish_crates:
# stage: build_packages
# needs:
# - package_amd64_deb
# tags:
# - build-amd64-deb
# script:
# - 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"
# rules:
# - if: '$CI_COMMIT_TAG =~ /v\d.+/'
publish_crates:
stage: build_packages
needs:
- package_amd64_deb
tags:
- build-amd64-deb
script:
- 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"
rules:
- if: '$CI_COMMIT_TAG =~ /v\d.+/'
#publish_python:
# stage: build_packages
# needs:
# - publish_crates
# tags:
# - build-amd64-deb
# script:
# - vlt login
# - 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.+/'
publish_python:
stage: build_packages
needs:
- package_amd64_deb
tags:
- build-amd64-deb
script:
- vlt login
- 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.+/'
build_repositories:
stage: distribute