Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Xiang Dai <764524258@qq.com>
  • Loading branch information
daixiang0 committed Dec 2, 2019
1 parent fc0b925 commit ae7bcc0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
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
for i in dist/*; do zip $$i.zip $$i && rm -f $$i; done
for i in dist/*; do zip -j $$i.zip $$i && rm -f $$i; done
pushd dist && sha256sum * > SHA256SUMS && popd

publish: dist
Expand Down
19 changes: 10 additions & 9 deletions tools/release-note.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,20 @@ This is release `${CIRCLE_TAG}` of Loki.
### Notable changes:
:warning: **ADD RELEASE NOTES HERE** :warning:

### Installation:
The components of Loki are currently distributed in plain binary form and as Docker container images. Choose what fits your use-case best.
#### Binary
We provide pre-compiled binary executables for the most common operating systems and architectures.
Pick one from the list below and download it:

#### Binary:
```bash
# download a binary (adapt app, os and arch as needed)
$ 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.zip"

# make sure it is executable
$ chmod a+x "/usr/local/bin/loki"
$ wget $YOUR_BINARY
$ unzip $YOUR_BINARY
$ chmod +x $YOUR_BINARY
$ mv $YOUR_BINARY /usr/local/bin/$YOUR_BINARY
```

### Installation:
The components of Loki are currently distributed in plain binary form and as Docker container images. Choose what fits your use-case best.

#### Docker container:
* https://hub.docker.com/r/grafana/loki
* https://hub.docker.com/r/grafana/promtail
Expand Down

0 comments on commit ae7bcc0

Please sign in to comment.