Skip to content

Commit 796cbba

Browse files
committed
[skip ci] installer output directory changed
1 parent 0375907 commit 796cbba

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

build-setup.ps1

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@ stack clean --full
66
Write-Host "Building executable"
77
stack 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
1410
Write-Host "Version: " $version
1511

1612
Write-Host "Building setup using Inno Setup Compiler"

installer/pandoc-plot-setup.iss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ DefaultDirName={pf}\{#AppName}
2222
DisableProgramGroupPage=yes
2323
ChangesEnvironment=true
2424
LicenseFile=..\LICENSE
25-
OutputDir=.\setup-{#AppVersion}
26-
OutputBaseFilename={#AppName}-wininst-{#AppVersion}
25+
OutputDir=.
26+
OutputBaseFilename={#AppName}-wininst-x86_64-{#AppVersion}
2727
Compression=lzma2/ultra64
2828
SolidCompression=yes
2929

0 commit comments

Comments
 (0)