Skip to content

Commit

Permalink
Add minimized build (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
fishi0x01 authored Apr 11, 2024
1 parent 14c7da7 commit 176f0e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## master - unreleased

ENHANCEMENTS:

* Support vault tls by cert path ([#112](https://github.com/fishi0x01/vsh/pull/112)) - Thank you [meridsa](https://github.com/meridsa)
* shrink binary size ([#115](https://github.com/fishi0x01/vsh/pull/115)) - Thank you [kindy](https://github.com/kindy))
* release minimized builds ([#116](https://github.com/fishi0x01/vsh/pull/116))

## v0.12.2 (February, 21, 2023)

ENHANCEMENTS:
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ compile-releases: clean ## Compile vsh binaries for multiple platforms and archi
for GOARCH in $(SUPPORTED_ARCHS); do \
GOOS=$$GOOS GOARCH=$$GOARCH \
go build -mod vendor -ldflags "-X main.vshVersion=$(VERSION)" -o build/${APP_NAME}_$${GOOS}_$${GOARCH}; \
go build -mod vendor -tags 'notokenhelper' -trimpath -ldflags "-s -w -X main.vshVersion=$(VERSION)" -o build/${APP_NAME}_notokenhelper_$${GOOS}_$${GOARCH}; \
done \
done
cd build/ && sha256sum * > SHA256SUM
Expand Down

0 comments on commit 176f0e6

Please sign in to comment.