ci: Move wix output naming to Cargo

This commit is contained in:
ClementTsang 2020-08-23 21:22:31 -04:00
parent 3ac49353e8
commit 005bd95f8a
2 changed files with 4 additions and 1 deletions

View file

@ -65,7 +65,7 @@ before_deploy:
zip choco.zip "./deployment/windows/choco/bottom.nuspec" "./deployment/windows/choco/tools/";
cargo install cargo-wix;
cargo wix init;
cargo wix -n "bottom_x86_64_installer.msi";
cargo wix;
cp "./target/wix/bottom_x86_64_installer.msi" ./bottom_x86_64_installer.msi;
python "./deployment/packager.py" "./bottom_x86_64_installer.msi" $TRAVIS_TAG "./deployment/windows/winget/winget.yaml.template" "$TRAVIS_TAG.yaml" "SHA256";
else

View file

@ -69,3 +69,6 @@ By default, bottom will look for a config file in ~/.config/bottom/bottom.toml.
If one is not specified it will fall back to defaults. If a config file does not
exist at the specified or default location, a blank one will be created for the user.
"""
[package.metadata.wix]
output = "bottom_x86_64_installer.msi"