diff --git a/.goreleaser.yml b/.goreleaser.yml index 5d0a97a..088f23f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -18,7 +18,7 @@ archives: checksum: name_template: 'checksums.txt' snapshot: - name_template: "{{ .Tag }}-next" + version_template: "{{ .Tag }}-next" changelog: sort: asc filters: diff --git a/Makefile b/Makefile index eb39698..7afbf32 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ -.phony: fmt run run-8583 run-modbus echo-client http-client-nobody http-client-body http-client-form build test vet +.phony: all clean fmt run run-8583 run-modbus echo-client http-client-nobody http-client-body http-client-form build test vet + +all: build fmt: go fmt ./... @@ -23,4 +25,7 @@ vet: go vet ./... build: fmt - go build + CGO_ENABLED=0 go build + +clean: + rm -f tcp-multiplexer diff --git a/go.mod b/go.mod index e9a7734..e40d049 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/ingmarstein/tcp-multiplexer -go 1.22.6 +go 1.23.0 require ( github.com/davecgh/go-spew v1.1.1