Add versioning to MSI installer.
Also close console window when not using CLI. Remove deployment section of appveyor.yml for the time being.
This commit is contained in:
10
appveyor.yml
10
appveyor.yml
@@ -16,6 +16,7 @@ install:
|
||||
- 'move dist\EntranceRandomizer\*.pyd dist\EntranceRandomizer\ext'
|
||||
- 'move dist\EntranceRandomizer\tcl*.dll dist\EntranceRandomizer\ext'
|
||||
- 'move dist\EntranceRandomizer\tk*.dll dist\EntranceRandomizer\ext'
|
||||
- ps: '$env:ER_Version= &"$env:PYTHON\python.exe" -c "import Main; import re; print(re.match(''[0-9]+\\.[0-9]+\\.[0-9]+'',Main.__version__).group(0))"'
|
||||
- '"%WIX%\bin\heat.exe" dir "dist\EntranceRandomizer" -sfrag -srd -suid -dr INSTALLDIR -cg ERFiles -ag -template fragment -t bundle\components.xslt -out build\components.wxs'
|
||||
- '"%WIX%\bin\candle.exe" -out build\ bundle\*.wxs build\*.wxs'
|
||||
- '"%WIX%\bin\light.exe" -ext WixUIExtension build\*.wixobj -o dist\EntranceRandomizer-Installer-%ProjectVersion%-win32.msi -b dist\EntranceRandomizer'
|
||||
@@ -25,12 +26,3 @@ artifacts:
|
||||
name: EntranceRandomizer-Installer-$(ProjectVersion)-win32.msi
|
||||
- path: dist/EntranceRandomizer/
|
||||
name: EntranceRandomizer-Raw-$(ProjectVersion)-win32.zip
|
||||
deploy:
|
||||
- provider: GitHub
|
||||
tag: $(APPVEYOR_REPO_TAG_NAME)
|
||||
auth_token:
|
||||
secure: wQH+KnogyjYcDdo/srOQeoYEVIbH1uoYA5Iajdy/sR0Tbme7gOt15u2FBIkTg9/x
|
||||
artifact: /.*-win32.*/
|
||||
force_update: false
|
||||
on:
|
||||
appveyor_repo_tag: true
|
||||
|
||||
Reference in New Issue
Block a user