diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c4ee3537..b7df2c97 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,7 +50,7 @@ jobs: # if: ${{ github.event_name == 'pull_request' }} with: version: latest - args: release --clean --snapshot --skip-publish + args: release --clean --snapshot --skip=publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} AC_PASSWORD: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_PASSWORD }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 379a1efe..72c958f9 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -21,23 +21,23 @@ builds: goos: - darwin -# signs: -# - id: amd64 -# signature: "${artifact}.dmg" -# ids: -# - overmind-macos # here we filter the macos only build id -# cmd: gon -# args: -# - gon-amd64.json -# artifacts: all -# - id: arm64 -# signature: "${artifact}.dmg" -# ids: -# - overmind-macos # here we filter the macos only build id -# cmd: gon -# args: -# - gon-arm64.json -# artifacts: all +signs: + - id: amd64 + signature: "${artifact}" + ids: + - overmind-macos # here we filter the macos only build id + cmd: gon + args: + - gon-amd64.json + artifacts: all + - id: arm64 + signature: "${artifact}" + ids: + - overmind-macos # here we filter the macos only build id + cmd: gon + args: + - gon-arm64.json + artifacts: all archives: - format: tar.gz @@ -72,11 +72,6 @@ changelog: - "^docs:" - "^test:" -release: - extra_files: - - glob: ./dist/overmind-cli-*.dmg - - glob: ./dist/overmind-cli-*.zip - # https://goreleaser.com/customization/homebrew/ brews: - name: cli diff --git a/gon-amd64.json b/gon-amd64.json index 65fe5ae7..9f8fe979 100644 --- a/gon-amd64.json +++ b/gon-amd64.json @@ -7,12 +7,5 @@ }, "sign": { "application_identity": "CE61C10EED69BFB4B25EB349AD15B29D75A809B9" - }, - "dmg": { - "output_path": "dist/overmind-cli-amd64.dmg", - "volume_name": "Overmind CLI" - }, - "zip": { - "output_path": "dist/overmind-cli-amd64.zip" } } \ No newline at end of file diff --git a/gon-arm64.json b/gon-arm64.json index d067c583..d2dc50ef 100644 --- a/gon-arm64.json +++ b/gon-arm64.json @@ -7,12 +7,5 @@ }, "sign": { "application_identity": "CE61C10EED69BFB4B25EB349AD15B29D75A809B9" - }, - "dmg": { - "output_path": "dist/overmind-cli-arm64.dmg", - "volume_name": "Overmind CLI" - }, - "zip": { - "output_path": "dist/overmind-cli-arm64.zip" } } \ No newline at end of file