File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Release v0.6.1
22
3- # Explicit push trigger for publishing v0.6.1
43on :
54 push :
65 branches : [main]
76 paths :
87 - ' .github/workflows/release-v0.6.1.yml'
98 - ' package/control'
9+ issues :
10+ types : [opened]
1011 workflow_dispatch :
1112
1213permissions :
1314 contents : write
15+ issues : read
1416
1517jobs :
1618 release :
19+ if : github.event_name != 'issues' || github.event.issue.title == 'release-v0.6.1-trigger'
1720 runs-on : macos-latest
1821 steps :
1922 - uses : actions/checkout@v4
23+ with :
24+ ref : main
2025
2126 - name : Build release
2227 run : make release
5661 if gh release view "$VERSION" >/dev/null 2>&1; then
5762 gh release upload "$VERSION" release-assets/* --clobber
5863 gh release edit "$VERSION" \
59- --target "${GITHUB_SHA}" \
64+ --target main \
6065 --title "Isaac External Item Descriptions iOS ${VERSION}" \
6166 --notes "$NOTES"
6267 else
6368 gh release create "$VERSION" release-assets/* \
64- --target "${GITHUB_SHA}" \
69+ --target main \
6570 --title "Isaac External Item Descriptions iOS ${VERSION}" \
6671 --notes "$NOTES"
6772 fi
You can’t perform that action at this time.
0 commit comments