Skip to content

Commit 36bd6b9

Browse files
author
notzippy@gmail.com
committed
Corrected flags
1 parent 1d9df25 commit 36bd6b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

harness/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ func Build(c *model.CommandConfig, paths *model.RevelContainer) (_ *App, err err
165165
}
166166

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

171171
// Append any build flags specified, they will override existing flags

0 commit comments

Comments
 (0)