Update .forgejo/workflows/release.yml
Some checks failed
Release / release (push) Failing after 3m28s
Some checks failed
Release / release (push) Failing after 3m28s
This commit is contained in:
parent
6060a7d85a
commit
0c12aaeafe
1 changed files with 7 additions and 1 deletions
|
@ -76,7 +76,13 @@ jobs:
|
||||||
echo "Latest tag is: $LATEST_TAG"
|
echo "Latest tag is: $LATEST_TAG"
|
||||||
|
|
||||||
# Get ISO timestamp of the latest tag commit
|
# 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..."
|
echo "Fetching closed issues since $COMMIT_DATE..."
|
||||||
|
|
||||||
CLOSED_ISSUES_JSON=$(curl -sf -H "Authorization: token $TOKEN" \
|
CLOSED_ISSUES_JSON=$(curl -sf -H "Authorization: token $TOKEN" \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue