File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,7 @@ stack clean --full
66Write-Host " Building executable"
77stack install pandoc- plot -- local- bin- path " .\installer"
88
9- # Extract version from cabal file
10- # This is so we can dynamically name the installer using the exe version
11- $regex = " ^version:\s+\d+.\d+.\d+.\d+"
12- $versionString = Select-String - Path " .\pandoc-plot.cabal" - Pattern $regex - AllMatches
13- $version = ($versionString.Matches.Value -split " \s+" )[1 ]
9+ $version = pandoc- plot -- version
1410Write-Host " Version: " $version
1511
1612Write-Host " Building setup using Inno Setup Compiler"
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ DefaultDirName={pf}\{#AppName}
2222DisableProgramGroupPage = yes
2323ChangesEnvironment = true
2424LicenseFile = ..\LICENSE
25- OutputDir = .\setup-{#AppVersion}
26- OutputBaseFilename = {#AppName}-wininst-{#AppVersion}
25+ OutputDir = .
26+ OutputBaseFilename = {#AppName}-wininst-x86_64- {#AppVersion}
2727Compression = lzma2 /ultra64
2828SolidCompression = yes
2929
You can’t perform that action at this time.
0 commit comments