8000 update version to v0.3.0 by aead · Pull Request #33 · aead/minisign · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

update version to v0.3.0 #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading
0