Skip to content

Commit b31b0ce

Browse files
committed
fix: explicit file list for release, handle missing labels in auto-pr
1 parent 6e12fca commit b31b0ce

2 files changed

Lines changed: 17 additions & 5 deletions

File tree

.github/workflows/auto-pr.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ jobs:
6868
env:
6969
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7070
run: |
71-
gh pr create \
71+
# Create PR without labels first (labels may not exist)
72+
PR_URL=$(gh pr create \
7273
--title "${{ steps.pr-meta.outputs.title }}" \
7374
--body "## Summary
7475
@@ -82,6 +83,10 @@ jobs:
8283
- [ ] Tests pass
8384
- [ ] Documentation updated (if needed)
8485
" \
85-
--label "${{ steps.pr-meta.outputs.label }}" \
8686
--base master \
87-
--draft
87+
--draft)
88+
89+
echo "Created PR: $PR_URL"
90+
91+
# Try to add labels (may fail if labels don't exist, that's ok)
92+
gh pr edit "$PR_URL" --add-label "${{ steps.pr-meta.outputs.label }}" || echo "Note: Could not add labels (they may not exist in repo)"

.github/workflows/release.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,14 @@ jobs:
227227
draft: false
228228
prerelease: false
229229
files: |
230-
dist/sekai-cli-*
230+
dist/sekai-cli-linux-amd64
231+
dist/sekai-cli-linux-arm64
232+
dist/sekai-cli-darwin-amd64
233+
dist/sekai-cli-darwin-arm64
234+
dist/sekai-cli-linux-amd64.sig
235+
dist/sekai-cli-linux-arm64.sig
236+
dist/sekai-cli-darwin-amd64.sig
237+
dist/sekai-cli-darwin-arm64.sig
231238
dist/*.deb
239+
dist/*.deb.sig
232240
dist/checksums.txt
233-
dist/*.sig

0 commit comments

Comments
 (0)