From 2a983b9cdc282e03de65489b09b6b7e3781a712c Mon Sep 17 00:00:00 2001 From: kjuulh Date: Fri, 28 Jul 2023 20:00:13 +0200 Subject: [PATCH] feat: with print registry Signed-off-by: kjuulh --- .drone.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.drone.yml b/.drone.yml index 2126728..0e73fdc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -61,6 +61,25 @@ steps: - name: release image: marcoieni/release-plz:0.3.16 commands: + - | + cat <> ~/.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 <> ~/.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: