Compare commits

..

2 commits

Author SHA1 Message Date
44a920f478
chore(release): release rustypipe v0.2.0
Some checks failed
CI / Test (push) Successful in 2m57s
Release / Release (push) Failing after 2m46s
2024-06-27 13:25:20 +02:00
7407b81602
ci: fix release workflow
All checks were successful
CI / Test (push) Successful in 2m22s
2024-06-27 13:21:28 +02:00

View file

@ -26,7 +26,7 @@ jobs:
- name: 📤 Publish crate on code.thetadev.de
run: |
mkdir -p ~/.cargo
printf '\n\n[registries.thetadev]\nindex = "https://code.thetadev.de/ThetaDev/_cargo-index.git"\ntoken = "Bearer ${{ secrets.FORGEJO_CI_TOKEN }}"\n' >> ~/.cargo/config.toml
printf '\n\n[registries.thetadev]\nindex = "https://code.thetadev.de/ThetaDev/_cargo-index.git"\ntoken = "Bearer ${{ secrets.TOKEN_GITEA }}"\n' >> ~/.cargo/config.toml
sed -i "s/^rustypipe.*=\s*{/\0 registry = \"thetadev\",/g" Cargo.toml
cargo publish --registry thetadev --allow-dirty --package "${{ env.CRATE }}"
git restore Cargo.toml