diff --git a/appveyor.yml b/appveyor.yml index 32a67e18e..6a8d3ac91 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -41,11 +41,7 @@ test_script: - script\test.cmd after_test: - - IF [%APPVEYOR_REPO_BRANCH:~-9%]==[-releases] ( - IF NOT EXIST C:\sqtemp MKDIR C:\sqtemp - SET SQUIRREL_TEMP=C:\sqtemp - script\build.cmd --existing-binaries --code-sign --create-windows-installer - ) + - IF [%APPVEYOR_REPO_BRANCH:~-9%]==[-releases] ( script\create-installer.cmd ) deploy: off artifacts: diff --git a/script/create-installer.cmd b/script/create-installer.cmd new file mode 100644 index 000000000..0354f0bac --- /dev/null +++ b/script/create-installer.cmd @@ -0,0 +1,6 @@ +@ECHO OFF +IF NOT EXIST C:\sqtemp MKDIR C:\sqtemp +SET SQUIRREL_TEMP=C:\sqtemp +del script\package-lock.json /q +del apm\package-lock.json /q +script\build.cmd --existing-binaries --code-sign --create-windows-installer