Skip to content

Commit

Permalink
v0.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
sagan committed Oct 13, 2023
1 parent 42c23a4 commit 32c0fd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cmd/versioncmd/versioncmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"github.com/spf13/cobra"

"github.com/sagan/ptool/cmd"
"github.com/sagan/ptool/util"
"github.com/sagan/ptool/version"
)

Expand All @@ -27,5 +28,6 @@ func versioncmd(cmd *cobra.Command, args []string) error {
fmt.Printf("- os/type: %s\n", runtime.GOOS)
fmt.Printf("- os/arch: %s\n", runtime.GOARCH)
fmt.Printf("- go/version: %s\n", runtime.Version())
fmt.Printf("- config/default_ua: %s\n", util.CHROME_HTTP_REQUEST_HEADERS["User-Agent"])
return nil
}
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package version

var (
VersionSuffix = "DEV" // eg. DEV
VersionSuffix = "" // eg. DEV
VersionTag = "v0.1.7"
Version = ""
)
Expand Down

0 comments on commit 32c0fd8

Please sign in to comment.