Skip to content

Commit

Permalink
Merge pull request #16 from kyoshidajp/release
Browse files Browse the repository at this point in the history
Release and Fix always specified version option problem
  • Loading branch information
kyoshidajp authored Jan 20, 2018
2 parents 686195a + f341ea7 commit 4ebf56b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
9 changes: 8 additions & 1 deletion Changes
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
Changes
=======

v0.0.3
* Add short command option and usage
* Add print PullRequest url option
* Add print Issue API url option
* Add open any browser option
* Add version option

0.0.2
* Add document link
* Raise not found error when Pull reqesut is not found
* Add debug option

0.0.2
0.0.1
First release!
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ $ tosa sha
Print debug log.
-h, --help Show this help message and exit.
-v, --version Print current version.
```

*NOTE*: Only first time, `tosa` requires your Github username and password(and two-factor auth code if you are setting). Because of using [GitHub API v3](https://developer.github.com/v3/).
Expand Down
4 changes: 2 additions & 2 deletions cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ func (c *CLI) Run(args []string) int {
flags.BoolVar(&apiurl, "a", false, "")
flags.BoolVar(&newline, "newline", true, "")
flags.BoolVar(&newline, "n", true, "")
flags.BoolVar(&version, "version", true, "")
flags.BoolVar(&version, "v", true, "")
flags.BoolVar(&version, "version", false, "")
flags.BoolVar(&version, "v", false, "")

// Parse flag
if err := flags.Parse(args[1:]); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package main

import "os"

const Version string = "0.0.2"
const Version string = "v0.0.3"

func main() {
cli := &CLI{outStream: os.Stdout, errStream: os.Stderr}
Expand Down

0 comments on commit 4ebf56b

Please sign in to comment.