Skip to content

Commit

Permalink
Corrected flags
Browse files Browse the repository at this point in the history
  • Loading branch information
notzippy@gmail.com committed Apr 30, 2020
1 parent 1d9df25 commit 36bd6b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harness/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func Build(c *model.CommandConfig, paths *model.RevelContainer) (_ *App, err err
}

buildTime := time.Now().UTC().Format(time.RFC3339)
versionLinkerFlags := fmt.Sprintf("-X %s/app.AppVersion=%s -X %s/app.BuildTime=%s",
versionLinkerFlags := fmt.Sprintf("-X '%s/app.AppVersion=%s' -X '%s/app.BuildTime=%s'",
paths.ImportPath, appVersion, paths.ImportPath, buildTime)

// Append any build flags specified, they will override existing flags
Expand Down

0 comments on commit 36bd6b9

Please sign in to comment.