There was an error while loading. Please reload this page.
1 parent 1dbc0e8 commit 6a44954Copy full SHA for 6a44954
.github/workflows/gh-issues.yml
@@ -39,10 +39,14 @@ jobs:
39
GH_ISSUE_NUMBER: ${{ github.event.issue.number }}
40
GH_REPO: ${{ github.repository }}
41
steps:
42
+ - name: Fetch latest release version
43
+ run: |
44
+ LATEST_VERSION=$(gh release view --repo "$GH_REPO" --json tagName -q .tagName)
45
+ echo "LATEST_VERSION=$LATEST_VERSION" >> $GITHUB_ENV
46
- name: Comment on issue
47
run: |
48
cat << EOF | gh issue comment ${{ env.GH_ISSUE_NUMBER }} -F -
- The change is available in the latest release. 🎉
49
+ The change is available in the latest release ($LATEST_VERSION). 🎉
50
51
Thank you for the report/contribution and making Springwolf better!
52
EOF
0 commit comments