From 47a523c46c38ab37179a9d75b4ce2d06916707ef Mon Sep 17 00:00:00 2001 From: Zachary Cowan <44091329+zacowan@users.noreply.github.com> Date: Sat, 7 Oct 2023 00:43:55 -0400 Subject: [PATCH] fix: update release process --- .github/workflows/release.yml | 5 +---- .goreleaser.yaml | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 67d8955..b34fdd4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,9 +22,6 @@ jobs: - uses: actions/setup-go@v4 with: go-version: stable - - uses: crazy-max/ghaction-chocolatey@v3 - with: - args: -h - uses: goreleaser/goreleaser-action@v5 with: distribution: goreleaser @@ -33,4 +30,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }} - CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }} + WINGET_PKGS_GITHUB_TOKEN: ${{ secrets.WINGET_PKGS_GITHUB_TOKEN }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index c576476..7308814 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -67,7 +67,7 @@ winget: repository: owner: zacowan name: winget-pkgs - branch: chore/totle-release-{{.Version}} + branch: zacowan/totle-{{.Version}} token: "{{ .Env.WINGET_PKGS_GITHUB_TOKEN }}" pull_request: enabled: true