Skip to content

Commit

Permalink
gon use default creds, zip only builds; no checksums [#23]
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon committed Nov 14, 2022
1 parent 6dbf754 commit b8c52a0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 25 deletions.
10 changes: 0 additions & 10 deletions .gon-amd64.hcl
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
source = ["./dist/pmtiles-macos-amd64_darwin_amd64_v1/pmtiles"]
bundle_id = "com.protomaps.pmtiles"

apple_id {
username = "@env:AC_USERNAME"
password = "@env:AC_PASSWORD"
}

sign {
application_identity = "Developer ID Application: Brandon Liu (WNSC27EEHU)"
}

zip {
output_path = "./dist/pmtiles-darwin-amd64.zip"
}

dmg {
output_path = "./dist/pmtiles-darwin-amd64.dmg"
volume_name = "pmtiles"
}
10 changes: 0 additions & 10 deletions .gon-arm64.hcl
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
source = ["./dist/pmtiles-macos-arm64_darwin_arm64/pmtiles"]
bundle_id = "com.protomaps.pmtiles"

apple_id {
username = "@env:AC_USERNAME"
password = "@env:AC_PASSWORD"
}

sign {
application_identity = "Developer ID Application: Brandon Liu (WNSC27EEHU)"
}

zip {
output_path = "./dist/pmtiles-darwin-arm64.zip"
}

dmg {
output_path = "./dist/pmtiles-darwin-arm64.dmg"
volume_name = "pmtiles"
}
11 changes: 6 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# AC_USERNAME= AC_PASSWORD= goreleaser release --rm-dist --parallelism 1
before:
hooks:
- go mod tidy
Expand All @@ -22,8 +23,7 @@ builds:
- amd64
hooks:
post:
- gon .gon-amd64.hcl
- mv dist/pmtiles-darwin-amd64.dmg dist/go-pmtiles-{{ .Version }}_Darwin_x86_64.dmg
- gon -log-level debug .gon-amd64.hcl
- mv dist/pmtiles-darwin-amd64.zip dist/go-pmtiles-{{ .Version }}_Darwin_x86_64.zip
- binary: pmtiles
id: pmtiles-macos-arm64
Expand All @@ -35,8 +35,7 @@ builds:
- arm64
hooks:
post:
- gon .gon-arm64.hcl
- mv dist/pmtiles-darwin-arm64.dmg dist/go-pmtiles-{{ .Version }}_Darwin_arm64.dmg
- gon -log-level debug .gon-arm64.hcl
- mv dist/pmtiles-darwin-arm64.zip dist/go-pmtiles-{{ .Version }}_Darwin_arm64.zip

archives:
Expand All @@ -50,8 +49,10 @@ archives:
format: zip
- goos: darwin
format: zip

checksum:
name_template: 'checksums.txt'
disable: true

snapshot:
name_template: "{{ .Tag }}-next"
changelog:
Expand Down

0 comments on commit b8c52a0

Please sign in to comment.