Skip to content

Commit

Permalink
release - fix jsdelivr/jsdelivr#18610
Browse files Browse the repository at this point in the history
  • Loading branch information
hagezi authored Jan 22, 2025
1 parent 2c127db commit 56941e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Generate release tag
run: echo "release_tag=$(date +'%Y.%j').$((`date +%s` % 86400 ))" >> $GITHUB_ENV
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 ))
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
env:
Expand Down

0 comments on commit 56941e6

Please sign in to comment.