Update .forgejo/workflows/release.yml
Some checks failed
Release / release (push) Failing after 3m28s

This commit is contained in:
root 2025-06-25 17:12:02 +01:00
parent 6060a7d85a
commit 0c12aaeafe

View file

@ -76,7 +76,13 @@ jobs:
echo "Latest tag is: $LATEST_TAG"
# Get ISO timestamp of the latest tag commit
COMMIT_DATE=$(git log -1 --format=%cI "$LATEST_TAG")
LATEST_TAG_COMMIT_DATE=$(curl -sf -H "Authorization: token $TOKEN" \
"$API_BASE/repos/$REPO_OWNER/$REPO_NAME/git/refs/tags/$LATEST_TAG" \
| jq -r '.object.sha' \
| xargs -I{} curl -sf -H "Authorization: token $TOKEN" \
"$API_BASE/repos/$REPO_OWNER/$REPO_NAME/git/commits/{}" \
| jq -r '.committer.date')
COMMIT_DATE="$LATEST_TAG_COMMIT_DATE"
echo "Fetching closed issues since $COMMIT_DATE..."
CLOSED_ISSUES_JSON=$(curl -sf -H "Authorization: token $TOKEN" \