feat: with print registry
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
e563bbfd0d
commit
2a983b9cdc
19
.drone.yml
19
.drone.yml
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user