summaryrefslogtreecommitdiff
path: root/standalone/windows/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'standalone/windows/build.sh')
-rwxr-xr-xstandalone/windows/build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/standalone/windows/build.sh b/standalone/windows/build.sh
index 895b74525..b871ad832 100755
--- a/standalone/windows/build.sh
+++ b/standalone/windows/build.sh
@@ -31,6 +31,8 @@ export UPGRADE_LOCATION
# Don't allow build artifact from a past successful build to be extracted
# if we fail.
rm -f git-annex-installer.exe
+rm -f git-annex.exe
+rm -rf dist
# Get extra programs to bundle with git-annex.
# These are msys2 programs, from https://msys2.github.io/.
@@ -66,7 +68,6 @@ withcygpreferred stack ghc --stack-yaml stack-windows.yaml --no-haddock \
--package nsis Build/NullSoftInstaller.hs
./Build/NullSoftInstaller
-rm -f dist/build-version
mkdir -p dist
stack ghc --stack-yaml stack-windows.yaml --no-haddock Build/BuildVersion.hs
./Build/BuildVersion > dist/build-version