Skip to content

Commit

Permalink
version with v
Browse files Browse the repository at this point in the history
  • Loading branch information
schollz committed Sep 3, 2020
1 parent b48c96f commit fc14ef2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli/cli.go
Expand Up @@ -32,7 +32,7 @@ func Run() (err error) {
app := cli.NewApp()
app.Name = "croc"
if Version == "" {
Version = "8.3.0-87e54ac"
Version = "v8.3.0-87e54ac"
}
app.Version = Version
app.Compiled = time.Now()
Expand Down
2 changes: 1 addition & 1 deletion src/install/updateversion.go
Expand Up @@ -16,7 +16,7 @@ func main() {
}

func run() (err error) {
versionNew := os.Getenv("VERSION")
versionNew := "v" + os.Getenv("VERSION")
versionHash, err := exec.Command("git", "rev-parse", "--short", "HEAD").Output()
if err != nil {
return
Expand Down

0 comments on commit fc14ef2

Please sign in to comment.