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 ..
- bash AppVeyor\make_installer.sh
artifacts:
- path: KShare.exe
name: Shared link
- path: installer.exe
name: Installer
- path: portable.zip
- path: '*_v*.exe'
- path: '*_v*.zip'
name: Portable version

View File

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