Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
townewgokgok committed Jul 31, 2017
1 parent d62da64 commit 127ed9a
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
project_name: slack-status
release:
github:
owner: townewgokgok
name: slack-status
# draft: true
#brew:
# install: bin.install "slack-status"
builds:
- goos:
# - linux
- darwin
- windows
goarch:
- amd64
# - "386"
# goarm:
# - "6"
main: .
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
binary: slack-status
archive:
format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: '{{ .Binary }}_{{.Version}}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{
.Arm }}{{ end }}'
files:
- LICENSE*
- README*
- CHANGELOG*
#snapshot:
# name_template: SNAPSHOT-{{ .Commit }}
4 changes: 3 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ import (
"github.com/townewgokgok/slack-status/internal"
)

var version = "1.0.0"

var cyan = color.New(color.FgCyan)
var yellow = color.New(color.FgYellow)
var red = color.New(color.FgRed)
Expand Down Expand Up @@ -59,7 +61,7 @@ func main() {
// Parse arguments
app := cli.NewApp()
app.Name = "slack-status"
app.Version = "0.1.0"
app.Version = version
app.Usage = "Updates your Slack user status from CLI"
//app.Authors = []cli.Author{
// {
Expand Down

0 comments on commit 127ed9a

Please sign in to comment.