feat: with print registry
Some checks reported errors
continuous-integration/drone/push Build was killed

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-07-28 20:00:13 +02:00
parent e563bbfd0d
commit 2a983b9cdc
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

@ -61,6 +61,25 @@ steps:
- name: release
image: marcoieni/release-plz:0.3.16
commands:
- |
cat <<EOF >> ~/.cargo/config.toml
[registry]
default = "gitea"
[registries.gitea]
index = "https://gitea.example.com/{owner}/_cargo-index.git"
[net]
git-fetch-with-cli = true
EOF
- cat ~/.cargo/config.toml
cat <<EOF >> ~/.cargo/config.toml
[registries.gitea]
token = "Bearer {token}"
EOF
- release-plz release-pr --git-token="$GIT_TOKEN" --token="$GIT_TOKEN" --backend gitea --registry https://git.front.kjuulh.io/kjuulh/_cargo-index.git
environment:
GIT_TOKEN: