From a6b316ef085553761b20af61ecfc4acefbf2bbec Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Sat, 28 Oct 2023 16:21:50 +0100 Subject: [PATCH] Release: Yggdrasil 0.5.1 --- CHANGELOG.md | 6 ++++++ cmd/yggdrasil/main.go | 1 + contrib/deb/generate.sh | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 50296af0..d0e9e3da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - in case of vulnerabilities. --> +## [0.5.1] - 2023-10-28 + +### Fixed + +* Fix the Debian package so that upgrades are handled more smoothly + ## [0.5.0] - 2023-10-28 ### Added diff --git a/cmd/yggdrasil/main.go b/cmd/yggdrasil/main.go index e0b33990..975e4945 100644 --- a/cmd/yggdrasil/main.go +++ b/cmd/yggdrasil/main.go @@ -156,6 +156,7 @@ func main() { return case *normaliseconf: + cfg.AdminListen = "" var bs []byte if *confjson { bs, err = json.MarshalIndent(cfg, "", " ") diff --git a/contrib/deb/generate.sh b/contrib/deb/generate.sh index 41ca6fe5..69eaa764 100644 --- a/contrib/deb/generate.sh +++ b/contrib/deb/generate.sh @@ -22,7 +22,7 @@ if [ $PKGBRANCH = "master" ]; then fi export LDFLAGS="-X github.com/yggdrasil-network/yggdrasil-go/src/config.defaultConfig=/etc/yggdrasil/yggdrasil.conf" -export LDFLAGS="${LDFLAGS} -X github.com/yggdrasil-network/yggdrasil-go/src/config.defaultAdminListen=unix://var/run/yggdrasil/yggdrasil.sock" +export LDFLAGS="${LDFLAGS} -X github.com/yggdrasil-network/yggdrasil-go/src/config.defaultAdminListen=unix:///var/run/yggdrasil/yggdrasil.sock" if [ $PKGARCH = "amd64" ]; then GOARCH=amd64 GOOS=linux ./build elif [ $PKGARCH = "i386" ]; then GOARCH=386 GOOS=linux ./build