diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7236bc7..a3bff9e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,7 +57,7 @@ jobs: go-version: ${{ env.go-version }} - name: Publish release - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: args: release --clean env: diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 0000000..ee6852a --- /dev/null +++ b/.goreleaser.yaml @@ -0,0 +1,20 @@ +version: 2 +builds: + - main: ./cmd/rp-archiver/main.go + binary: rp-archiver + goos: + - darwin + - linux + goarch: + - amd64 + - arm64 + +changelog: + filters: + exclude: + - "^Update CHANGELOG.md" + +archives: + - files: + - LICENSE + - README.md diff --git a/goreleaser.yml b/goreleaser.yml deleted file mode 100644 index a5023d4..0000000 --- a/goreleaser.yml +++ /dev/null @@ -1,19 +0,0 @@ -build: - main: ./cmd/rp-archiver/main.go - binary: rp-archiver - goos: - - darwin - - linux - goarch: - - amd64 - - arm64 - -changelog: - filters: - exclude: - - "^Update CHANGELOG.md" - -archives: - - files: - - LICENSE - - README.md