diff --git a/Makefile b/Makefile index 97f3e6a..389497b 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.7 +VERSION := 0.52.8 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)' diff --git a/pkg/cli/setup.go b/pkg/cli/setup.go index 7afc602..a5de05d 100644 --- a/pkg/cli/setup.go +++ b/pkg/cli/setup.go @@ -41,7 +41,7 @@ func HandleSetupCommand(args []string) { if !isSupportedOS(osInfo) { fmt.Fprintf(os.Stderr, "⚠️ Unsupported OS: %s\n", osInfo) - fmt.Fprintf(os.Stderr, " Supported: Ubuntu 22.04/24.04, Debian 12\n") + fmt.Fprintf(os.Stderr, " Supported: Ubuntu 22.04/24.04/25.04, Debian 12\n") fmt.Printf("\nContinue anyway? (yes/no): ") if !promptYesNo() { fmt.Println("Setup cancelled.") @@ -138,6 +138,7 @@ func isSupportedOS(osInfo string) bool { supported := []string{ "ubuntu 22.04", "ubuntu 24.04", + "ubuntu 25.04", "debian 12", } for _, s := range supported { @@ -392,7 +393,7 @@ func cloneAndBuild() { } // Copy binaries - exec.Command("cp", "-r", "/home/debros/src/bin/", "/home/debros/bin/").Run() + exec.Command("sh", "-c", "cp -r /home/debros/src/bin/* /home/debros/bin/").Run() exec.Command("chown", "-R", "debros:debros", "/home/debros/bin").Run() exec.Command("chmod", "-R", "755", "/home/debros/bin").Run()