Skip to content

Commit

Permalink
Integrated MacOS signing into build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
tomodian committed Dec 8, 2024
1 parent cc1cd26 commit ce4174a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 300 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/CHANGELOG.md

This file was deleted.

254 changes: 0 additions & 254 deletions CHANGELOG.md

This file was deleted.

12 changes: 2 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,14 @@ build: clean
-osarch="linux/arm" \
-osarch="linux/amd64" \
-osarch="windows/amd64"
@echo "Bundling.."
$(MAKE) bundle-nix
$(MAKE) bundle-windows

build-darwin: clean
@echo "Building.."
gox -output="$(BUILD)/{{.Dir}}_{{.OS}}_{{.Arch}}" \
-osarch="darwin/amd64" \
-osarch="darwin/arm64"

@echo "Notarizing.."
@echo "Notarizing MacOS binary.."
./quill sign-and-notarize ./build/release_darwin_amd64 || true
./quill sign-and-notarize ./build/release_darwin_arm64 || true

@echo "Bundling.."
$(MAKE) bundle-nix
$(MAKE) bundle-windows

run:
go run main.go
Expand Down
11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,17 +131,6 @@ The tool also supports [Github-style semver](https://semver.org/#is-v123-a-seman

make build

## Issues?

### MacOS "developer cannot be verified" error

Note MacOS Catalina will warn you when executing this binary in command-line.
Follow these steps to give your permission.

1. In the Finder on your Mac, unzip the `release` app and open the `release` binary
2. MacOS will prompt you to enable the binary, so answer yes
3. Now you can use the binary from command-line.

## License

[Mozilla Public License v2.0](LICENSE)

0 comments on commit ce4174a

Please sign in to comment.