diff --git a/.gitea/publish.sh b/.gitea/publish.sh index ecf5ceb..9a21f26 100755 --- a/.gitea/publish.sh +++ b/.gitea/publish.sh @@ -7,9 +7,12 @@ VERSION=$GITHUB_REF_NAME.$(date +%Y-%m-%dt%H.%M.%S) for path in "$@"; do fn=$(basename "$path") + url=$GITHUB_SERVER_URL/api/packages/$GITHUB_ACTOR/generic/$PACKAGE/$VERSION/$fn + echo $url curl \ + --fail \ --include \ --user "$GITHUB_ACTOR:$PACKAGE_API_TOKEN" \ --upload-file "$path" \ - $GITHUB_SERVER_URL/api/packages/$GITHUB_ACTOR/generic/$PACKAGE/$VERSION/$fn + $url done