mirror of
https://codeberg.org/Cyborus/forgejo-cli.git
synced 2024-11-23 10:21:48 +01:00
Merge pull request '[ci] set FORGE_HOST
env var in release step' (#28) from ci-fix into main
Reviewed-on: https://codeberg.org/Cyborus/forgejo-cli/pulls/28
This commit is contained in:
commit
e69590d936
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ steps:
|
|||
image: codeberg.org/cyborus/forgejo-cli:latest
|
||||
pull: true
|
||||
commands:
|
||||
- export FORGE_HOST=$(echo $CI_FORGE_URL | sed -E 's_^https?://__')
|
||||
- fj auth add-key $FORGE_HOST $CI_REPO_OWNER $TOKEN
|
||||
- fj --remote $CI_REPO_URL release create $VERSION --create-tag --branch $BRANCH --attach forgejo-cli-windows.zip --attach forgejo-cli-windows.gz
|
||||
- fj auth logout $FORGE_HOST
|
||||
|
|
Loading…
Reference in a new issue