mirror of
https://codeberg.org/Cyborus/forgejo-cli.git
synced 2024-11-10 03:59:31 +01:00
[ci] set FORGE_HOST
env var in release step
apparently env vars do not carry over between steps
This commit is contained in:
parent
41035c1185
commit
f326e93e84
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