From d4a7b13235636d6491d1dd6bdb59c4a7cfb9163a Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Thu, 29 Dec 2016 11:47:10 -0200 Subject: [PATCH] goreleaser --- README.md | 7 +++++++ circle.yml | 4 +--- goreleaser.yml | 4 ++++ 3 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 goreleaser.yml diff --git a/README.md b/README.md index 2b3e158..9264ee1 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,13 @@ hours later (and automate the sending of the report too). To run it, you can simply `./am-i-working watch --domain mycompany > work.log`, or create a service in the OS level to keep it running forever. +## Install + +```console +brew tap caarlos0/formulae +brew install twatcher +``` + ### macOS Service To set it up as a macOS service, just tun: diff --git a/circle.yml b/circle.yml index e507d6f..79010c1 100644 --- a/circle.yml +++ b/circle.yml @@ -6,9 +6,7 @@ deployment: release: tag: /v[0-9]+(\.[0-9]+)*/ commands: - - curl -o /tmp/release https://raw.githubusercontent.com/caarlos0/go-releaser/master/release - - chmod +x /tmp/release - - cd "$APP_PATH" && /tmp/release --user caarlos0 --repo am-i-working --binary am-i-working --main cmd/main.go + - curl -s https://raw.githubusercontent.com/goreleaser/get/master/latest | bash dependencies: override: - sudo add-apt-repository ppa:masterminds/glide -y diff --git a/goreleaser.yml b/goreleaser.yml new file mode 100644 index 0000000..a0433f0 --- /dev/null +++ b/goreleaser.yml @@ -0,0 +1,4 @@ +repo: caarlos0/am-i-working +binary_name: am-i-working +brew: + repo: caarlos0/homebrew-formulae