From dda98b59f72281c05fcce117d62a8d6fd5226808 Mon Sep 17 00:00:00 2001 From: Rowan Seymour Date: Wed, 5 Jun 2024 13:52:40 -0500 Subject: [PATCH] Update goreleaser config to v2 --- .gitignore | 5 +++-- .goreleaser.yaml | 20 ++++++++++++++++++++ deploy | 1 - goreleaser.yml | 19 ------------------- 4 files changed, 23 insertions(+), 22 deletions(-) create mode 100644 .goreleaser.yaml delete mode 120000 deploy delete mode 100644 goreleaser.yml diff --git a/.gitignore b/.gitignore index 1446c34..99d906f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,7 @@ *.dylib fabfile.py fabfile.pyc -deploy/ +deploy rp-indexer # Test binary, build with `go test -c` @@ -19,4 +19,5 @@ rp-indexer *~ -.DS_Store \ No newline at end of file +.DS_Store +dist/ diff --git a/.goreleaser.yaml b/.goreleaser.yaml new file mode 100644 index 0000000..6c7fba7 --- /dev/null +++ b/.goreleaser.yaml @@ -0,0 +1,20 @@ +version: 2 +builds: + - main: ./cmd/rp-indexer/main.go + binary: rp-indexer + goos: + - darwin + - linux + goarch: + - amd64 + - arm64 + +changelog: + filters: + exclude: + - "^Update CHANGELOG.md" + +archives: + - files: + - LICENSE + - README.md diff --git a/deploy b/deploy deleted file mode 120000 index 3ebc6a1..0000000 --- a/deploy +++ /dev/null @@ -1 +0,0 @@ -../utils/deploy \ No newline at end of file diff --git a/goreleaser.yml b/goreleaser.yml deleted file mode 100644 index 86e271c..0000000 --- a/goreleaser.yml +++ /dev/null @@ -1,19 +0,0 @@ -build: - main: ./cmd/rp-indexer/main.go - binary: rp-indexer - goos: - - darwin - - linux - goarch: - - amd64 - - arm64 - -changelog: - filters: - exclude: - - "^Update CHANGELOG.md" - -archives: - - files: - - LICENSE - - README.md