From b31b0ce98aacfa0839e1519a30da8476145a56da Mon Sep 17 00:00:00 2001 From: mrlutik Date: Sun, 14 Dec 2025 21:25:17 +0100 Subject: [PATCH] fix: explicit file list for release, handle missing labels in auto-pr --- .github/workflows/auto-pr.yml | 11 ++++++++--- .github/workflows/release.yml | 11 +++++++++-- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/workflows/auto-pr.yml b/.github/workflows/auto-pr.yml index 5cce0ba..88834e5 100644 --- a/.github/workflows/auto-pr.yml +++ b/.github/workflows/auto-pr.yml @@ -68,7 +68,8 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - gh pr create \ + # Create PR without labels first (labels may not exist) + PR_URL=$(gh pr create \ --title "${{ steps.pr-meta.outputs.title }}" \ --body "## Summary @@ -82,6 +83,10 @@ jobs: - [ ] Tests pass - [ ] Documentation updated (if needed) " \ - --label "${{ steps.pr-meta.outputs.label }}" \ --base master \ - --draft + --draft) + + echo "Created PR: $PR_URL" + + # Try to add labels (may fail if labels don't exist, that's ok) + gh pr edit "$PR_URL" --add-label "${{ steps.pr-meta.outputs.label }}" || echo "Note: Could not add labels (they may not exist in repo)" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c6c3e74..df038a6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -227,7 +227,14 @@ jobs: draft: false prerelease: false files: | - dist/sekai-cli-* + dist/sekai-cli-linux-amd64 + dist/sekai-cli-linux-arm64 + dist/sekai-cli-darwin-amd64 + dist/sekai-cli-darwin-arm64 + dist/sekai-cli-linux-amd64.sig + dist/sekai-cli-linux-arm64.sig + dist/sekai-cli-darwin-amd64.sig + dist/sekai-cli-darwin-arm64.sig dist/*.deb + dist/*.deb.sig dist/checksums.txt - dist/*.sig