This commit is contained in:
Gerd 2025-01-22 19:10:07 +01:00 committed by GitHub
parent 56941e6ad6
commit 384039c899
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,7 +20,7 @@ jobs:
- name: Generate release tag
run: |
repo_age=$(( $(date -u +"%Y") - $(curl -s -H "Accept: application/vnd.github+json" https://api.github.com/repos/${{ github.repository }} | jq -r .created_at | cut -c 1-4) ))
repo_version=$(date +'%Y.%j').$((`date +%s` % 86400 ))
repo_version=$(date +'%Y.%-j').$((`date +%s` % 86400 ))
echo "release_tag=$repo_age$repo_version" >> $GITHUB_ENV
- name: Generate issue list
run: echo "issue_list=$(gh issue list -l fixed-pending-release | cut -f1 | sed 's/^/#/' | sed 's/$/ /' | tr -d '\n\t\r')" >> $GITHUB_ENV