aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/installer/build.bat
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-04-25 08:48:17 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-04-25 08:48:17 +0200
commitd56315d6fd5db557362dd680347596c20ecbfdd3 (patch)
tree0e224049168c226a733b73a356c3bfb72001ef68 /installer/build.bat
parentbuild: improve signature and version situation (diff)
downloadwireguard-windows-d56315d6fd5db557362dd680347596c20ecbfdd3.tar.xz
wireguard-windows-d56315d6fd5db557362dd680347596c20ecbfdd3.zip
installer: hardcode to 0.0.1 for now
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'installer/build.bat')
-rw-r--r--installer/build.bat3
1 files changed, 3 insertions, 0 deletions
diff --git a/installer/build.bat b/installer/build.bat
index 3842e411..1dc1da61 100644
--- a/installer/build.bat
+++ b/installer/build.bat
@@ -5,6 +5,9 @@ rem Copyright (C) 2019 WireGuard LLC. All Rights Reserved.
for /f "tokens=3" %%a in ('findstr /r "[0-9.]*" ..\version.h') do set WIREGUARD_VERSION=%%a
set WIREGUARD_VERSION=%WIREGUARD_VERSION:"=%
+rem While our version numbers remain whonky, just hardcode this to 0.0.1.
+set WIREGUARD_VERSION=0.0.1
+
set STARTDIR=%cd%
set OLDWIX=%WIX%
set WIX_CANDLE_FLAGS=-nologo -dWIREGUARD_VERSION="%WIREGUARD_VERSION%"