diff --git a/.goreleaser.yaml b/.goreleaser.yaml index de07697..5a1f0ff 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,5 +1,6 @@ # GoReleaser Configuration for DeBros Network -# This config builds and publishes binaries and Debian packages +# 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 @@ -7,7 +8,7 @@ env: - GO111MODULE=on builds: - # network-cli binary + # network-cli binary - only build the CLI - id: network-cli main: ./cmd/cli binary: network-cli @@ -23,57 +24,9 @@ builds: - -X main.commit={{.ShortCommit}} - -X main.date={{.Date}} mod_timestamp: '{{ .CommitTimestamp }}' - - # node binary - - id: node - main: ./cmd/node - binary: node - goos: - - linux - goarch: - - amd64 - - arm64 - ldflags: - - -s -w - - -X main.version={{.Version}} - - -X main.commit={{.ShortCommit}} - - -X main.date={{.Date}} - mod_timestamp: '{{ .CommitTimestamp }}' - - # gateway binary - - id: gateway - main: ./cmd/gateway - binary: gateway - goos: - - linux - goarch: - - amd64 - - arm64 - ldflags: - - -s -w - - -X main.version={{.Version}} - - -X main.commit={{.ShortCommit}} - - -X main.date={{.Date}} - mod_timestamp: '{{ .CommitTimestamp }}' - - # identity binary - - id: identity - main: ./cmd/identity - binary: identity - goos: - - linux - 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 each binary + # Tar.gz archives for network-cli - id: binaries format: tar.gz name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" diff --git a/CHANGELOG.md b/CHANGELOG.md index cced552..1652d33 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,11 +10,16 @@ The format is based on [Keep a Changelog][keepachangelog] and adheres to [Semant ### Changed +- **GoReleaser**: Updated to build only `network-cli` binary (v0.52.2+) + - Other binaries (node, gateway, identity) now installed via `network-cli setup` + - Cleaner, smaller release packages + - Resolves archive mismatch errors +- **GitHub Actions**: Updated artifact actions from v3 to v4 (deprecated versions) + ### Deprecated ### Fixed - - Fixed install script to be more clear and bug fixing ## [0.52.1] - 2025-10-26 diff --git a/Makefile b/Makefile index fbbdf7e..586717f 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ test-e2e: .PHONY: build clean test run-node run-node2 run-node3 run-example deps tidy fmt vet lint clear-ports -VERSION := 0.52.1-beta +VERSION := 0.52.3-beta COMMIT ?= $(shell git rev-parse --short HEAD 2>/dev/null || echo unknown) DATE ?= $(shell date -u +%Y-%m-%dT%H:%M:%SZ) LDFLAGS := -X 'main.version=$(VERSION)' -X 'main.commit=$(COMMIT)' -X 'main.date=$(DATE)'