Skip to content

Commit

Permalink
update release version and binaries (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
quasilyte authored Jan 3, 2022
1 parent 22be084 commit 5c04705
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GOPATH_DIR=`go env GOPATH`
RELEASE=v0.3.13
RELEASE=v0.3.15
BUILD_COMMIT=`git rev-parse HEAD`

build:
Expand All @@ -8,7 +8,10 @@ build:

build-release:
mkdir -p bin
go build -o bin/ruleguard -ldflags "-X 'github.com/quasilyte/go-ruleguard/analyzer.Version=$(RELEASE)'" ./cmd/ruleguard
go build -o bin/ruleguard \
-trimpath \
-ldflags "-X 'github.com/quasilyte/go-ruleguard/analyzer.Version=$(RELEASE)'" \
./cmd/ruleguard

test:
go test -count 3 -coverpkg=./... -coverprofile=coverage.txt -covermode=atomic -race ./...
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ It can also be easily embedded into other static analyzers. [go-critic](https://

## Quick start

It's advised that you get a binary from the [latest release](https://github.com/quasilyte/go-ruleguard/releases/tag/v0.3.13) {[linux/amd64](https://github.com/quasilyte/go-ruleguard/releases/download/v0.3.13/ruleguard-linux-amd64.zip), [linux/arm64](https://github.com/quasilyte/go-ruleguard/releases/download/v0.3.13/ruleguard-linux-arm64.zip), [darwin/amd64](https://github.com/quasilyte/go-ruleguard/releases/download/v0.3.13/ruleguard-darwin-amd64.zip), [darwin/arm64](https://github.com/quasilyte/go-ruleguard/releases/download/v0.3.13/ruleguard-darwin-arm64.zip), [windows/amd64](https://github.com/quasilyte/go-ruleguard/releases/download/v0.3.13/ruleguard-windows-amd64.zip), [windows/arm64](https://github.com/quasilyte/go-ruleguard/releases/download/v0.3.13/ruleguard-windows-arm64.zip)}.
It's advised that you get a binary from the [latest release](https://github.com/quasilyte/go-ruleguard/releases/tag/v0.3.15) {[linux/amd64](https://github.com/quasilyte/go-ruleguard/releases/download/v0.3.15/ruleguard-linux-amd64.zip), [linux/arm64](https://github.com/quasilyte/go-ruleguard/releases/download/v0.3.15/ruleguard-linux-arm64.zip), [darwin/amd64](https://github.com/quasilyte/go-ruleguard/releases/download/v0.3.15/ruleguard-darwin-amd64.zip), [darwin/arm64](https://github.com/quasilyte/go-ruleguard/releases/download/v0.3.15/ruleguard-darwin-arm64.zip), [windows/amd64](https://github.com/quasilyte/go-ruleguard/releases/download/v0.3.15/ruleguard-windows-amd64.zip), [windows/arm64](https://github.com/quasilyte/go-ruleguard/releases/download/v0.3.15/ruleguard-windows-arm64.zip)}.

If you want to install the ruleguard from source, it's as simple as:

Expand Down

0 comments on commit 5c04705

Please sign in to comment.