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

This commit is contained in:
root 2025-06-25 17:20:07 +01:00
parent 0c12aaeafe
commit 02a5fac535

View file

@ -78,7 +78,7 @@ jobs:
# Get ISO timestamp of the latest tag commit # Get ISO timestamp of the latest tag commit
LATEST_TAG_COMMIT_DATE=$(curl -sf -H "Authorization: token $TOKEN" \ LATEST_TAG_COMMIT_DATE=$(curl -sf -H "Authorization: token $TOKEN" \
"$API_BASE/repos/$REPO_OWNER/$REPO_NAME/git/refs/tags/$LATEST_TAG" \ "$API_BASE/repos/$REPO_OWNER/$REPO_NAME/git/refs/tags/$LATEST_TAG" \
| jq -r '.object.sha' \ | jq -r '.[0].object.sha' \
| xargs -I{} curl -sf -H "Authorization: token $TOKEN" \ | xargs -I{} curl -sf -H "Authorization: token $TOKEN" \
"$API_BASE/repos/$REPO_OWNER/$REPO_NAME/git/commits/{}" \ "$API_BASE/repos/$REPO_OWNER/$REPO_NAME/git/commits/{}" \
| jq -r '.committer.date') | jq -r '.committer.date')