diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index 2a6fef7..54fc2fc 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -78,7 +78,7 @@ jobs: # Get ISO timestamp of the latest tag commit 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' \ + | jq -r '.[0].object.sha' \ | xargs -I{} curl -sf -H "Authorization: token $TOKEN" \ "$API_BASE/repos/$REPO_OWNER/$REPO_NAME/git/commits/{}" \ | jq -r '.committer.date')