From b3cc1252e180cba4f1db33f3f8d695acc845cbf3 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Thu, 4 Jan 2024 21:01:53 -0700 Subject: [PATCH] try to publish artifacts --- .gitea/publish.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/publish.sh b/.gitea/publish.sh index 9966254..ecf5ceb 100755 --- a/.gitea/publish.sh +++ b/.gitea/publish.sh @@ -3,11 +3,12 @@ set -e PACKAGE=${GITHUB_REPOSITORY#*/} -VERSION=$(date +%Y-%m-%dt%H.%M.%S) +VERSION=$GITHUB_REF_NAME.$(date +%Y-%m-%dt%H.%M.%S) for path in "$@"; do fn=$(basename "$path") curl \ + --include \ --user "$GITHUB_ACTOR:$PACKAGE_API_TOKEN" \ --upload-file "$path" \ $GITHUB_SERVER_URL/api/packages/$GITHUB_ACTOR/generic/$PACKAGE/$VERSION/$fn