mirror of
https://github.com/DeBrosOfficial/network.git
synced 2025-12-12 23:18:49 +00:00
- Updated `.goreleaser.yaml` to focus solely on building the `network-cli` binary, removing configurations for other binaries (node, gateway, identity). - Adjusted archive settings to reflect changes in the build process, resulting in cleaner and smaller release packages. - Updated version in `Makefile` to 0.52.3-beta and documented changes in `CHANGELOG.md`.
67 lines
1.3 KiB
YAML
67 lines
1.3 KiB
YAML
# GoReleaser Configuration for DeBros Network
|
|
# Builds and releases the network-cli binary for multiple platforms
|
|
# Other binaries (node, gateway, identity) are installed via: network-cli setup
|
|
|
|
project_name: debros-network
|
|
|
|
env:
|
|
- GO111MODULE=on
|
|
|
|
builds:
|
|
# network-cli binary - only build the CLI
|
|
- id: network-cli
|
|
main: ./cmd/cli
|
|
binary: network-cli
|
|
goos:
|
|
- linux
|
|
- darwin
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
ldflags:
|
|
- -s -w
|
|
- -X main.version={{.Version}}
|
|
- -X main.commit={{.ShortCommit}}
|
|
- -X main.date={{.Date}}
|
|
mod_timestamp: '{{ .CommitTimestamp }}'
|
|
|
|
archives:
|
|
# Tar.gz archives for network-cli
|
|
- id: binaries
|
|
format: tar.gz
|
|
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
|
files:
|
|
- README.md
|
|
- LICENSE
|
|
- CHANGELOG.md
|
|
format_overrides:
|
|
- goos: windows
|
|
format: zip
|
|
|
|
checksum:
|
|
name_template: "checksums.txt"
|
|
algorithm: sha256
|
|
|
|
snapshot:
|
|
name_template: "{{ incpatch .Version }}-next"
|
|
|
|
changelog:
|
|
sort: asc
|
|
abbrev: -1
|
|
filters:
|
|
exclude:
|
|
- '^docs:'
|
|
- '^test:'
|
|
- '^chore:'
|
|
- '^ci:'
|
|
- Merge pull request
|
|
- Merge branch
|
|
|
|
release:
|
|
github:
|
|
owner: DeBrosOfficial
|
|
name: network
|
|
draft: false
|
|
prerelease: auto
|
|
name_template: "Release {{.Version}}"
|