Skip to content

Commit

Permalink
ci: update go-releaser settings
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmic-vagabond committed Sep 5, 2023
1 parent 8292f65 commit 2f06485
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ builds:
ldflags:
- -X github.com/cosmos/cosmos-sdk/version.Name=elys
- -X github.com/cosmos/cosmos-sdk/version.AppName=elysd
- -X github.com/cosmos/cosmos-sdk/version.Version={{ .Version }}
- -X github.com/cosmos/cosmos-sdk/version.Version=v{{ .Version }}
- -X github.com/cosmos/cosmos-sdk/version.Commit={{ .Commit }}
- -X github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger,static_wasm
- -w -s
Expand Down Expand Up @@ -49,7 +49,7 @@ builds:
ldflags:
- -X github.com/cosmos/cosmos-sdk/version.Name=elys
- -X github.com/cosmos/cosmos-sdk/version.AppName=elysd
- -X github.com/cosmos/cosmos-sdk/version.Version={{ .Version }}
- -X github.com/cosmos/cosmos-sdk/version.Version=v{{ .Version }}
- -X github.com/cosmos/cosmos-sdk/version.Commit={{ .Commit }}
- -X github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger,static_wasm
- -w -s
Expand All @@ -76,7 +76,7 @@ builds:
ldflags:
- -X github.com/cosmos/cosmos-sdk/version.Name=elys
- -X github.com/cosmos/cosmos-sdk/version.AppName=elysd
- -X github.com/cosmos/cosmos-sdk/version.Version={{ .Version }}
- -X github.com/cosmos/cosmos-sdk/version.Version=v{{ .Version }}
- -X github.com/cosmos/cosmos-sdk/version.Commit={{ .Commit }}
- -X github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger,muslc,osusergo
- -w -s
Expand Down Expand Up @@ -105,7 +105,7 @@ builds:
ldflags:
- -X github.com/cosmos/cosmos-sdk/version.Name=elys
- -X github.com/cosmos/cosmos-sdk/version.AppName=elysd
- -X github.com/cosmos/cosmos-sdk/version.Version={{ .Version }}
- -X github.com/cosmos/cosmos-sdk/version.Version=v{{ .Version }}
- -X github.com/cosmos/cosmos-sdk/version.Commit={{ .Commit }}
- -X github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger,muslc,osusergo
- -w -s
Expand All @@ -130,7 +130,7 @@ archives:
- elysd-linux-arm64
- elysd-darwin-amd64
- elysd-darwin-arm64
name_template: "{{.ProjectName}}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
name_template: "{{.ProjectName}}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}"
format: tar.gz
files:
- none*
Expand All @@ -141,7 +141,7 @@ archives:
- elysd-linux-arm64
- elysd-darwin-amd64
- elysd-darwin-arm64
name_template: "{{.ProjectName}}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
name_template: "{{.ProjectName}}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}"
format: binary
files:
- none*
Expand All @@ -150,24 +150,22 @@ checksum:
algorithm: sha256
# Docs: https://goreleaser.com/customization/changelog/
changelog:
skip: true
skip: false
# Docs: https://goreleaser.com/customization/release/
release:
github:
owner: elys-network
name: elys
replace_existing_draft: true
header: |
< DESCRIPTION OF RELEASE >
## Changelog
## Description
See the full changelog [here](https://github.com/elys-network/elys/blob/v{{ .Version }}/CHANGELOG.md)
< DESCRIPTION OF RELEASE >
## ⚡️ Binaries
Binaries for Linux and Darwin (amd64 and arm64) are available below.
Darwin users can also use the same universal binary `elysd-{{ .Version }}-darwin-all` for both amd64 and arm64.
Darwin users can also use the same universal binary `elysd-v{{ .Version }}-darwin-all` for both amd64 and arm64.
#### 🔨 Build from source
Expand All @@ -178,7 +176,11 @@ release:
cd elys && git checkout v{{ .Version }}
make install
````
name_template: "elys v{{.Version}} 🧪"
## What's Changed
See the full changelog [here](https://github.com/elys-network/elys/blob/v{{ .Version }}/CHANGELOG.md)
name_template: "v{{.Version}}"
mode: replace
draft: true

Expand Down

0 comments on commit 2f06485

Please sign in to comment.