diff --git a/build/build_steps.txt b/build/build_steps.txt index c5f83cd..a0ed088 100644 --- a/build/build_steps.txt +++ b/build/build_steps.txt @@ -1,10 +1,7 @@ make sure gotop builds and runs -update version number in 'main.go' and 'scripts/download.sh' -commit changes -tag commit with latest version number +tag commit with version number export GitHub token in shell run `sudo dockerd` -run `goreleaser` -run `rm -r dist` +run `goreleaser --rm-dist` run `git push` update AUR package diff --git a/main.go b/main.go index 35ef898..fd8ff02 100644 --- a/main.go +++ b/main.go @@ -15,7 +15,7 @@ import ( "github.com/docopt/docopt-go" ) -const VERSION = "1.2.15" +var version = "updated by goreleaser" var ( termResized = make(chan bool, 1) @@ -65,7 +65,7 @@ Colorschemes: monokai ` - args, _ := docopt.ParseArgs(usage, os.Args[1:], VERSION) + args, _ := docopt.ParseArgs(usage, os.Args[1:], version) if val, _ := args["--color"]; val != nil { handleColorscheme(val.(string))