Skip to content

Commit

Permalink
create zip after installation, #565
Browse files Browse the repository at this point in the history
  • Loading branch information
sriv committed Feb 15, 2017
1 parent 813a161 commit 2caf0b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/make.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,12 +281,12 @@ func createWindowsInstaller() {
panic(err)
}
copyGaugeFiles(distroDir)
createZipFromUtil(deploy, pName, pName)
runProcess("makensis.exe",
fmt.Sprintf("/DPRODUCT_VERSION=%s", getBuildVersion()),
fmt.Sprintf("/DGAUGE_DISTRIBUTABLES_DIR=%s", distroDir),
fmt.Sprintf("/DOUTPUT_FILE_NAME=%s.exe", installerFileName),
filepath.Join("build", "install", "windows", "gauge-install.nsi"))
createZipFromUtil(deploy, pName, pName)
os.RemoveAll(distroDir)
signExecutable(installerFileName+".exe", *certFile, *certFilePwd)
}
Expand Down

0 comments on commit 2caf0b6

Please sign in to comment.