From 727a025773db43ff1cecbcee4a4e5d7e208e6f1e Mon Sep 17 00:00:00 2001 From: Drew Edwards Date: Mon, 29 Apr 2024 15:44:13 +0100 Subject: [PATCH] chore: attempt to fix goreleaser --- .github/workflows/release.yml | 6 ------ .goreleaser.yml | 4 ++++ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d5c8ea86..3317814c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,12 +19,6 @@ jobs: with: fetch-depth: 0 # Used to get tags to populate the version number - - name: Go module init - run: | - cd casket - go mod init casket - cd .. - - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5 with: diff --git a/.goreleaser.yml b/.goreleaser.yml index fa183bab..39da1205 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -28,6 +28,10 @@ builds: # Set dist directory to build/ since we have files in dist/ dist: build +before: + hooks: + - go mod tidy + archives: - id: casket builds: