Skip to content

Commit

Permalink
release bump
Browse files Browse the repository at this point in the history
  • Loading branch information
aybabtme committed Sep 1, 2016
1 parent 966d709 commit ab350ec
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ $ go get -u github.com/aybabtme/humanlog/...
## On linux

```bash
wget -qO- https://github.com/aybabtme/humanlog/releases/download/0.1.9/humanlog_linux_amd64.tar.gz | tar xvz
wget -qO- https://github.com/aybabtme/humanlog/releases/download/0.1.10/humanlog_linux_amd64.tar.gz | tar xvz
```

## On OS X

```bash
wget -qO- https://github.com/aybabtme/humanlog/releases/download/0.1.9/humanlog_darwin_amd64.tar.gz | tar xvz
wget -qO- https://github.com/aybabtme/humanlog/releases/download/0.1.10/humanlog_darwin_amd64.tar.gz | tar xvz
```

# Example
Expand Down Expand Up @@ -53,7 +53,7 @@ USAGE:
humanlog [global options] command [command options] [arguments...]
VERSION:
0.1.9
0.1.10
AUTHOR:
Antoine Grondin - <[email protected]>
Expand Down
4 changes: 3 additions & 1 deletion cmd/humanlog/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import (
"github.com/codegangsta/cli"
)

var version = "devel"

func fatalf(c *cli.Context, format string, args ...interface{}) {
log.Printf(format, args...)
cli.ShowAppHelp(c)
Expand Down Expand Up @@ -70,7 +72,7 @@ func newApp() *cli.App {
app.Author = "Antoine Grondin"
app.Email = "[email protected]"
app.Name = "humanlog"
app.Version = "0.1.8"
app.Version = version
app.Usage = "reads structured logs from stdin, makes them pretty on stdout!"

app.Flags = []cli.Flag{skipFlag, keepFlag, sortLongest, skipUnchanged, truncates, truncateLength}
Expand Down
4 changes: 2 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ set -u -e
rm -rf /tmp/humanlog_build/

mkdir -p /tmp/humanlog_build/linux
GOOS=linux godep go build -ldflags "-X main.version=$VERSION" -o /tmp/humanlog_build/linux/humanlog ../
GOOS=linux godep go build -ldflags "-X main.version=$VERSION" -o /tmp/humanlog_build/linux/humanlog ../cmd/humanlog
pushd /tmp/humanlog_build/linux/
tar cvzf /tmp/humanlog_build/humanlog_linux.tar.gz humanlog
popd

mkdir -p /tmp/humanlog_build/darwin
GOOS=darwin godep go build -ldflags "-X main.version=$VERSION" -o /tmp/humanlog_build/darwin/humanlog ../
GOOS=darwin godep go build -ldflags "-X main.version=$VERSION" -o /tmp/humanlog_build/darwin/humanlog ../cmd/humanlog
pushd /tmp/humanlog_build/darwin/
tar cvzf /tmp/humanlog_build/humanlog_darwin.tar.gz humanlog
popd
Expand Down

0 comments on commit ab350ec

Please sign in to comment.