build: correctly adds enterprise to the filename. (#13831)

This commit is contained in:
Leonard Gram
2018-10-25 16:55:27 +02:00
committed by GitHub
parent d505d83ee1
commit 30cb28df55
4 changed files with 12 additions and 3 deletions

View File

@ -403,6 +403,10 @@ func gruntBuildArg(task string) []string {
if phjsToRelease != "" {
args = append(args, fmt.Sprintf("--phjsToRelease=%v", phjsToRelease))
}
if enterprise {
args = append(args, "--enterprise")
}
args = append(args, fmt.Sprintf("--platform=%v", goos))
return args