diff --git a/scripts/publish-gitea-actions.sh b/scripts/publish-gitea-actions.sh index 2206b80..72c86da 100755 --- a/scripts/publish-gitea-actions.sh +++ b/scripts/publish-gitea-actions.sh @@ -24,8 +24,8 @@ echo "target: $RELEASE_TAG ($VERSION)" echo "gitea: $GITEA_BASE_URL" if curl -fsS -H "Authorization: token $GITEA_TOKEN" \ - "$GITEA_BASE_URL/api/v1/repos/$REPO_OWNER/$REPO_NAME/releases/tags/$RELEASE_TAG" >/dev/null 2>&1; then - echo "release $RELEASE_TAG already published on Gitea; nothing to do" + "$GITEA_BASE_URL/api/packages/$REPO_OWNER/generic/dsh-easy-desktop-updater/$VERSION/dsh-easy-desktop_${VERSION}_darwin_aarch64.app.tar.gz" >/dev/null 2>&1; then + echo "version $VERSION already published on the Gitea package feed; nothing to do" exit 0 fi