mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-26 10:33:15 +03:00
appveyor: deploy artifacts on tags and branches
This commit is contained in:
parent
fc432a5095
commit
524b77979a
@ -86,11 +86,13 @@ after_build:
|
||||
- ps: Get-ChildItem -Include sqlite3.dll -Recurse | Remove-Item -Force
|
||||
- ps: Get-ChildItem -Include _sqlite3.pyd -Recurse | Remove-Item -Force
|
||||
# Create zip for deployment
|
||||
- 7z a yubioath-desktop-%APPVEYOR_REPO_BRANCH%%APPVEYOR_REPO_TAG_NAME%-win.zip .\release\*
|
||||
- set ARTIFACT_NAME=%APPVEYOR_REPO_BRANCH%
|
||||
- if defined APPVEYOR_REPO_TAG_NAME set ARTIFACT_NAME=%APPVEYOR_REPO_TAG_NAME%
|
||||
- 7z a yubioath-desktop-%ARTIFACT_NAME%-win.zip .\release\*
|
||||
- cd %APPVEYOR_BUILD_FOLDER%
|
||||
|
||||
artifacts:
|
||||
- path: yubioath-desktop-%APPVEYOR_REPO_BRANCH%%APPVEYOR_REPO_TAG_NAME%-win.zip
|
||||
- path: yubioath-desktop-$(ARTIFACT_NAME)-win.zip
|
||||
|
||||
deploy:
|
||||
- provider: S3
|
||||
|
Loading…
Reference in New Issue
Block a user