diff --git a/.github/workflows/dev_release.yml b/.github/workflows/dev_release.yml index 3c517c9..e5bc595 100644 --- a/.github/workflows/dev_release.yml +++ b/.github/workflows/dev_release.yml @@ -34,7 +34,7 @@ jobs: uses: goreleaser/goreleaser-action@v4 with: version: latest - args: release --rm-dist --snapshot + args: release --clean --snapshot env: GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d670615..f35ae3d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ name: release on: push: tags: - - 'v*' + - "v*" jobs: goreleaser: runs-on: ubuntu-latest @@ -36,7 +36,7 @@ jobs: uses: goreleaser/goreleaser-action@v2 with: version: latest - args: release --rm-dist + args: release --clean env: GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore index 66701f7..7a9017f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ terraform-provider-linuxbox terraform.tfstate.backup terraform.tfstate + +dist/ diff --git a/.goreleaser.yml b/.goreleaser.yml index ad5652f..46aaeaa 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,5 +1,6 @@ # Visit https://goreleaser.com for documentation on how to customize this # behavior. +version: 2 before: hooks: - go mod tidy @@ -45,4 +46,4 @@ release: # Visit your project's GitHub Releases page to publish this release. draft: true changelog: - skip: true + disable: true