A little bit more of token handling
All checks were successful
ci/woodpecker/push/build Pipeline was successful

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
2026-05-17 22:11:35 +02:00
parent 68e166d90f
commit 1ca66a885b
4 changed files with 39 additions and 52 deletions

View File

@@ -72,7 +72,7 @@ tasks:
sh: mktemp -d
cmds:
- git clone git@gitea.badhouseplants.net:softplayer/softplayer-go-proto.git '{{ .WORKDIR }}'
- git -C '{{ .WORKDIR }}' checkout '{{ .CLI_ARGS }}'
- git -C '{{ .WORKDIR }}' checkout '{{ .CLI_ARGS | default "main" }}'
- go get gitea.badhouseplants.net/softplayer/softplayer-go-proto@$(git -C '{{ .WORKDIR }}' rev-parse HEAD)
- rm -rf '{{ .WORKDIR }}'
- go mod tidy