Skip to content
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

replace zip with gzip #1160

Merged
merged 7 commits into from
Dec 3, 2019
Merged
Show file tree
Hide file tree
Changes from 2 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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ dist: clean
CGO_ENABLED=0 $(GOX) -osarch="linux/amd64 linux/arm64 linux/arm darwin/amd64 windows/amd64 freebsd/amd64" ./cmd/loki-canary
CGO_ENABLED=0 $(GOX) -osarch="linux/arm64 linux/arm darwin/amd64 windows/amd64 freebsd/amd64" ./cmd/promtail
CGO_ENABLED=1 $(CGO_GOX) -osarch="linux/amd64" ./cmd/promtail
gzip dist/*
for i in dist/*; do zip $$i.zip $$i && rm -f $$i; done
daixiang0 marked this conversation as resolved.
Show resolved Hide resolved
pushd dist && sha256sum * > SHA256SUMS && popd

publish: dist
Expand Down
6 changes: 3 additions & 3 deletions tools/release-note.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This is release `${CIRCLE_TAG}` of Loki.
This is release `${CIRCLE_TAG}` of Loki.

### Notable changes:
:warning: **ADD RELEASE NOTES HERE** :warning:
Expand All @@ -9,8 +9,8 @@ The components of Loki are currently distributed in plain binary form and as Doc
#### Binary:
```bash
# download a binary (adapt app, os and arch as needed)
$ curl -fSL -o "/usr/local/bin/loki.gz" "https://github.com/grafana/loki/releases/download/${CIRCLE_TAG}/loki-linux-amd64.gz"
$ gunzip "/usr/local/bin/loki.gz"
$ curl -fSL -o "/usr/local/bin/loki.zip" "https://github.com/grafana/loki/releases/download/${CIRCLE_TAG}/loki-linux-amd64.zip"
$ unzip "/usr/local/bin/loki.gz"
daixiang0 marked this conversation as resolved.
Show resolved Hide resolved

# make sure it is executable
$ chmod a+x "/usr/local/bin/loki"
Expand Down