Browse Source

fix version

master
syui 2 years ago
parent
commit
03057e26b1
No known key found for this signature in database GPG Key ID: ED2A0F5F1DA25512
  1. 2
      .travis.yml
  2. 5
      xq.go

2
.travis.yml

@ -14,4 +14,4 @@ before_install:
script:
- gox -output "dist/{{.OS}}_{{.Arch}}_{{.Dir}}"
- ghr --username syui --token $GITHUB_TOKEN --replace --debug 0.3.0 dist/
- ghr --username syui --token $GITHUB_TOKEN --replace --debug 0.3.1 dist/

5
xq.go

@ -13,7 +13,7 @@ func App() *cli.App {
app := cli.NewApp()
app.Name = "xq"
app.Usage = "xq /path/to/rss.xml"
app.Version = "0.3.0"
app.Version = "0.3.1"
return app
}
@ -42,7 +42,8 @@ func Action(c *cli.Context) {
func main() {
app := &cli.App{
Name: "file",
Version: "0.3.1",
Name: "xq",
Usage: "$ xq index.xml",
Action: func(c *cli.Context) error {
if c.Args().Get(0) == "" {

Loading…
Cancel
Save