Repository navigation
docs: document macOS Gatekeeper workaround for unsigned binaries #3
Workflow file for this run
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 | |
| # Tag a version (e.g. `git tag v0.1.0 && git push --tags`) to build | |
| # cross-platform binaries and attach them to a GitHub Release. | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.25" | |
| - name: Build cross-platform binaries | |
| run: make release | |
| - name: Publish release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: dist/* | |
| generate_release_notes: true | |
| body: | | |
| ## Install | |
| **Recommended (no warnings):** | |
| ```bash | |
| go install github.com/ashishxcode/commit-chronicle/cmd/commit-chronicle@latest | |
| ``` | |
| **Pre-built binary:** download for your OS/arch below, then: | |
| ```bash | |
| chmod +x commit-chronicle-* | |
| # macOS only — clear the Gatekeeper quarantine flag: | |
| xattr -d com.apple.quarantine commit-chronicle-* 2>/dev/null || true | |
| mv commit-chronicle-* /usr/local/bin/commit-chronicle | |
| ``` | |
| > macOS can't verify these binaries (they aren't Apple-notarized), so a | |
| > downloaded copy is quarantined and reported as "malware" / "cannot be | |
| > opened" until you run the `xattr` command above (or right-click → Open). |