From f557b03d63543c1a868e1e7eb75dd66792b68142 Mon Sep 17 00:00:00 2001 From: pauhull <22707808+phm07@users.noreply.github.com> Date: Wed, 24 Apr 2024 16:43:30 +0200 Subject: [PATCH] wip --- .github/workflows/release.yml | 3 ++- .goreleaser.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 88960f73..0de683e6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,6 +2,7 @@ name: Release on: push: + branches: [ switch-apple-codesign ] tags: - "v*.*.*" @@ -38,7 +39,7 @@ jobs: uses: goreleaser/goreleaser-action@v5 with: version: latest - args: release --clean --skip=validate + args: release --snapshot --clean --skip=validate env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} APPLE_P12_PASSWORD: ${{ secrets.APPLE_P12_PASSWORD }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 1252e086..838270c2 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -44,7 +44,7 @@ builds: - cmd: > rcodesign sign --p12-file .github/secrets/hcloud_cli.p12 - --p12-password "$APPLE_P12_PASSWORD" + --p12-password "{{ .Env.APPLE_P12_PASSWORD }}" --code-signature-flags runtime "{{ .Path }}" output: true