Skip to content

Commit 0ca101b

Browse files
committed
scripts/release.hs: rename .nsi file so it isn't included with artifacts
1 parent 592c113 commit 0ca101b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

etc/scripts/release.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,9 @@ rules global@Global{..} args = do
293293
binaryPkgTarGzFileName = binaryName <.> tarGzExt
294294
-- Adding '-bin' to name to work around https://github.com/commercialhaskell/stack/issues/4961
295295
binaryExeFileName = binaryName ++ "-bin" <.> exe
296-
binaryInstallerNSIFileName = binaryName ++ "-installer" <.> nsiExt
296+
-- Prefix with 'installer-' so it doesn't get included in release artifacts
297+
-- (due to NSIS limitation, needs to be in same directory as executable)
298+
binaryInstallerNSIFileName = "installer-" ++ binaryName <.> nsiExt
297299
binaryInstallerFileName = binaryName ++ "-installer" <.> exe
298300
binaryName =
299301
concat

0 commit comments

Comments
 (0)