diff --git a/.github/workflows/cmd-release.yml b/.github/workflows/cmd-release.yml index f7e8fe8..9028abc 100644 --- a/.github/workflows/cmd-release.yml +++ b/.github/workflows/cmd-release.yml @@ -3,7 +3,7 @@ name: goreleaser on: push: tags: - - 'cmd/*' + - '*' permissions: contents: write @@ -25,7 +25,7 @@ jobs: with: distribution: goreleaser version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} AZURE_STORAGE_ACCOUNT: ${{ secrets.AZURE_STORAGE_ACCOUNT }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 1ed6df5..437d64a 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -2,7 +2,8 @@ # Make sure to check the documentation at https://goreleaser.com before: hooks: - # You may remove this if you don't use go modules. + # FIXME: hack + - go mod replace=github.com/b4fun/turtle=../ - go mod tidy builds: - env: