Skip to content

Commit

Permalink
Add SKIP_NOTARIZE make variable to skip notarization on macOS
Browse files Browse the repository at this point in the history
Mostly for testing
  • Loading branch information
maxfierke committed Oct 17, 2023
1 parent b2010d0 commit 10f3a2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RELEASE ?=
STATIC ?=
STRIP_RPATH ?=
SOURCES := src/*.cr src/**/*.cr
SKIP_NOTARIZE ?=
TAG_NAME ?= $(shell git describe --tags)
TARGET_ARCH ?= $(HOST_ARCH)
TARGET_CABI ?=
Expand Down Expand Up @@ -146,7 +147,7 @@ test: spec check-libraries

release: gon.hcl bin/mstrap
mkdir -p ./dist
@if [ "$(TARGET_OS)" == "darwin" ]; then \
@if [ "$(TARGET_OS)" == "darwin" ] && [ -z "$(SKIP_NOTARIZE)" ]; then \
gon -log-level=debug $(GON_CONFIG); \
else \
zip --junk-paths dist/mstrap.zip bin/mstrap; \
Expand Down

0 comments on commit 10f3a2e

Please sign in to comment.