fix: cd to release dir before uploading assets
This commit is contained in:
parent
70f004c45b
commit
b2662247bb
1 changed files with 1 additions and 0 deletions
|
|
@ -82,6 +82,7 @@ if [ -z "$RELEASE_ID" ]; then
|
|||
fi
|
||||
log "Release ID: $RELEASE_ID"
|
||||
|
||||
cd "$RELEASE_DIR"
|
||||
for f in *; do
|
||||
log " Upload $f..."
|
||||
curl -s -X POST "$FORGEJO_URL/releases/$RELEASE_ID/assets?name=$f" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue