Skip to content

Commit

Permalink
update version to v0.3.0
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Auernhammer <github@aead.dev>
  • Loading branch information
aead committed May 19, 2024
1 parent 989464f commit 41e1366
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
9 changes: 4 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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."

Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmd/minisign/minisign.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 <pubKey>] [-s <secKey>] [-W]
Expand Down

0 comments on commit 41e1366

Please sign in to comment.