fix: consistent matching, reverse numbering, and stable scroll for hi… #73
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| branches: [main] | |
| release: | |
| types: [created] | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| release-please: | |
| if: github.event_name == 'push' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: googleapis/release-please-action@v4 | |
| with: | |
| token: ${{ secrets.RELEASE_PAT }} | |
| build: | |
| if: github.event_name == 'release' | |
| runs-on: macos-26 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Resolve version | |
| id: meta | |
| run: | | |
| TAG="${{ github.event.release.tag_name }}" | |
| VERSION="${TAG#v}" | |
| echo "tag=$TAG" >> "$GITHUB_OUTPUT" | |
| echo "version=$VERSION" >> "$GITHUB_OUTPUT" | |
| - name: Build release binary | |
| run: swift build -c release | |
| - name: Create app bundle | |
| run: make app CONFIG=release VERSION=${{ steps.meta.outputs.version }} | |
| - name: Zip and upload | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| run: | | |
| cd build | |
| zip -ry "KanbanCode-${{ steps.meta.outputs.version }}-macos.zip" KanbanCode.app | |
| cd .. | |
| gh release upload "${{ steps.meta.outputs.tag }}" \ | |
| "build/KanbanCode-${{ steps.meta.outputs.version }}-macos.zip" |