appveyor: add version to artifacts

This commit is contained in:
Niklas 2020-02-23 18:25:04 +01:00
parent 1d3e335f3f
commit 2ed294ea4c
2 changed files with 5 additions and 7 deletions

View File

@ -24,9 +24,6 @@ build_script:
- cd .. - cd ..
- bash AppVeyor\make_installer.sh - bash AppVeyor\make_installer.sh
artifacts: artifacts:
- path: KShare.exe - path: '*_v*.exe'
name: Shared link - path: '*_v*.zip'
- path: installer.exe
name: Installer
- path: portable.zip
name: Portable version name: Portable version

View File

@ -55,5 +55,6 @@ echo -----------------
cat installer.iss.pattern.bottom >> installer.iss cat installer.iss.pattern.bottom >> installer.iss
"C:\Program Files (x86)\Inno Setup 5\ISCC.exe" installer.iss "C:\Program Files (x86)\Inno Setup 5\ISCC.exe" installer.iss
cp Output/setup.exe ../../installer.exe || exit 1 cp Output/setup.exe ../../win_kshare_v${ver}_installer.exe || exit 1
cp portable.zip ../../ || exit 2 cp ../../KShare.exe ../../KShare_v${ver}.exe || exit 1
cp portable.zip ../../win_kshare_v${ver}_portable.zip || exit 2