From 41e136626bd44c4a4a0540d8c6b3c863f71f32a7 Mon Sep 17 00:00:00 2001 From: Andreas Auernhammer Date: Sun, 19 May 2024 12:21:42 +0200 Subject: [PATCH] update version to v0.3.0 Signed-off-by: Andreas Auernhammer --- Makefile | 9 ++++----- README.md | 9 ++++----- cmd/minisign/minisign.go | 2 +- 3 files changed, 9 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index 7d1dbbf..c1cae93 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,6 @@ ifneq ($(shell go env GOBIN),) else GOBIN := $(shell $(go env GOPATH)/bin) endif -VERSION := v0.2.1 .PHONY: build check release test lint update-tools @@ -20,22 +19,22 @@ ifneq ($(shell git status -s) , ) @(echo "Repository contains modified files." && exit 1) else @echo -n Building minisign ${VERSION} for linux/amd64... - @GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -ldflags "-s -w -X 'main.version=${VERSION}'" -o ./minisign ./cmd/minisign + @GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -ldflags "-s -w" -o ./minisign ./cmd/minisign @tar -czf minisign-linux-amd64.tar.gz ./minisign ./LICENSE ./README.md @echo " DONE." @echo -n Building minisign ${VERSION} for linux/arm64... - @GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -trimpath -ldflags "-s -w -X 'main.version=${VERSION}'" -o ./minisign ./cmd/minisign + @GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -trimpath -ldflags "-s -w" -o ./minisign ./cmd/minisign @tar -czf minisign-linux-arm64.tar.gz ./minisign ./LICENSE ./README.md @echo " DONE." @echo -n Building minisign ${VERSION} for darwin/arm64... - @GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 go build -trimpath -ldflags "-s -w -X 'main.version=${VERSION}'" -o ./minisign ./cmd/minisign + @GOOS=darwin GOARCH=arm64 CGO_ENABLED=0 go build -trimpath -ldflags "-s -w" -o ./minisign ./cmd/minisign @tar -czf minisign-darwin-arm64.tar.gz ./minisign ./LICENSE ./README.md @echo " DONE." @echo -n Building minisign ${VERSION} for windows/amd64... - @GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -ldflags "-s -w -X 'main.version=${VERSION}'" -o ./minisign ./cmd/minisign + @GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -trimpath -ldflags "-s -w" -o ./minisign ./cmd/minisign @zip -q minisign-windows-amd64.zip ./minisign ./LICENSE ./README.md @echo " DONE." diff --git a/README.md b/README.md index dab34fb..ade9f31 100644 --- a/README.md +++ b/README.md @@ -76,11 +76,10 @@ go install aead.dev/minisign/cmd/minisign@latest On windows, linux and macOS, you can also use the pre-built binaries: | OS | ARCH | Latest Release | |:---------:|:-------:|:-----------------------------------------------------------------------------------------------------------------------| -| Linux | amd64 | [minisign-linux-amd64.tar.gz](https://github.com/aead/minisign/releases/download/v0.2.1/minisign-linux-amd64.tar.gz) | -| Linux | arm64 | [minisign-linux-arm64.tar.gz](https://github.com/aead/minisign/releases/download/v0.2.1/minisign-linux-arm64.tar.gz) | -| MacOS | arm64 | [minisign-darwin-arm64.tar.gz](https://github.com/aead/minisign/releases/download/v0.2.1/minisign-darwin-arm64.tar.gz) | -| MacOS | amd64 | [minisign-darwin-amd64.tar.gz](https://github.com/aead/minisign/releases/download/v0.2.1/minisign-darwin-amd64.tar.gz) | -| Windows | amd64 | [minisign-windows-amd64.zip](https://github.com/aead/minisign/releases/download/v0.2.1/minisign-windows-amd64.zip) | +| Linux | amd64 | [minisign-linux-amd64.tar.gz](https://github.com/aead/minisign/releases/download/v0.3.0/minisign-linux-amd64.tar.gz) | +| Linux | arm64 | [minisign-linux-arm64.tar.gz](https://github.com/aead/minisign/releases/download/v0.3.0/minisign-linux-arm64.tar.gz) | +| MacOS | arm64 | [minisign-darwin-arm64.tar.gz](https://github.com/aead/minisign/releases/download/v0.3.0/minisign-darwin-arm64.tar.gz) | +| Windows | amd64 | [minisign-windows-amd64.zip](https://github.com/aead/minisign/releases/download/v0.3.0/minisign-windows-amd64.zip) | From source: 1. Clone the repository diff --git a/cmd/minisign/minisign.go b/cmd/minisign/minisign.go index cc953e3..013b8bf 100644 --- a/cmd/minisign/minisign.go +++ b/cmd/minisign/minisign.go @@ -21,7 +21,7 @@ import ( "golang.org/x/term" ) -const version = "v0.2.1" +const version = "v0.3.0" const usage = `Usage: minisign -G [-p ] [-s ] [-W]