Skip to content

Commit 41e6583

Browse files
committed
Add explicit issue trigger for v0.6.1 release
1 parent 5c9ecc3 commit 41e6583

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/release-v0.6.1.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,27 @@
11
name: Release v0.6.1
22

3-
# Explicit push trigger for publishing v0.6.1
43
on:
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

1213
permissions:
1314
contents: write
15+
issues: read
1416

1517
jobs:
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
@@ -56,12 +61,12 @@ EOF
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

0 commit comments

Comments
 (0)