Skip to content

Commit e867e6d

Browse files
chore: update goreleaser (#530)
1 parent 2ec216e commit e867e6d

2 files changed

Lines changed: 4 additions & 16 deletions

File tree

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
with:
2121
go-version-file: go.mod
2222
- name: Run GoReleaser
23-
uses: goreleaser/goreleaser-action@v4
23+
uses: goreleaser/goreleaser-action@v6
2424
with:
25-
version: latest
25+
version: "~> v2"
2626
args: release --clean --timeout 1h
2727
env:
2828
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.goreleaser.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,26 @@
1+
version: 2
2+
13
project_name: beekeeper
24

35
builds:
46
- main: ./cmd/beekeeper/main.go
5-
67
binary: beekeeper
7-
88
flags:
99
- -v
1010
- -trimpath
11-
1211
ldflags:
1312
- -s -w -X github.com/ethersphere/beekeeper.version={{.Version}} -X github.com/ethersphere/beekeeper.commit={{.ShortCommit}}
14-
1513
env:
1614
- CGO_ENABLED=0
17-
1815
goos:
1916
- darwin
2017
- linux
2118
- windows
22-
2319
goarch:
2420
- amd64
2521
- "386"
2622
- arm64
2723
- arm
28-
2924
ignore:
3025
- goos: darwin
3126
goarch: "386"
@@ -41,23 +36,16 @@ snapshot:
4136

4237
archives:
4338
- name_template: "{{ tolower .ProjectName }}-{{ tolower .Os }}-{{ tolower .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
44-
4539
format: binary
4640

4741
nfpms:
4842
- file_name_template: "{{ tolower .ProjectName }}-{{ tolower .Os }}-{{ tolower .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
49-
5043
vendor: Ethereum Swarm
5144
homepage: https://swarm.ethereum.org/
52-
5345
maintainer: Svetomir Smiljkovic <svetomir@ethswarm.org>
54-
5546
description: Ethereum Swarm Beekeeper
56-
5747
license: BSD-3-Clause
58-
5948
formats:
6049
- deb
6150
- rpm
62-
6351
bindir: /usr/bin

0 commit comments

Comments
 (0)