[AppVeyor] Fix upload to Bintray

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
Vitalii Koshura 2019-12-30 10:06:19 +01:00
parent 9a974efc93
commit 3c443b973b
No known key found for this signature in database
GPG Key ID: CE0DB1726070A5A3
1 changed files with 6 additions and 6 deletions

View File

@ -70,18 +70,18 @@ set data={\"name\": \"!pkg_version!\", \"desc\": \"!pkg_version_desc!\"}
%CURL% -H Content-Type:application/json -X POST -d "%data%" "%API%/packages/%BINTRAY_REPO_OWNER%/%BINTRAY_REPO%/!pkg_name!/versions"
if exist "deploy\win-apps\win-apps_!pkg_version!_%platform%.7z" (
echo Uploading and publishing "deploy\win-apps\win-apps_!pkg_version!.7z"
%CURL% -H Content-Type:application/octet-stream -T "deploy\win-apps\win-apps_!pkg_version!.7z" "%API%/content/%BINTRAY_REPO_OWNER%/%BINTRAY_REPO%/!pkg_name!/!pkg_version!/win-apps_!pkg_version!.7z?publish=1&override=1"
echo Uploading and publishing "deploy\win-apps\win-apps_!pkg_version!_%platform%.7z"
%CURL% -H Content-Type:application/octet-stream -T "deploy\win-apps\win-apps_!pkg_version!_%platform%.7z" "%API%/content/%BINTRAY_REPO_OWNER%/%BINTRAY_REPO%/!pkg_name!/!pkg_version!/win-apps_!pkg_version!_%platform%.7z?publish=1&override=1"
)
if exist "deploy\win-client\win-client_!pkg_version!_%platform%.7z" (
echo Uploading and publishing "deploy\win-client\win-client_!pkg_version!.7z"
%CURL% -H Content-Type:application/octet-stream -T "deploy\win-client\win-client_!pkg_version!.7z" "%API%/content/%BINTRAY_REPO_OWNER%/%BINTRAY_REPO%/!pkg_name!/!pkg_version!/win-client_!pkg_version!.7z?publish=1&override=1"
echo Uploading and publishing "deploy\win-client\win-client_!pkg_version!_%platform%.7z"
%CURL% -H Content-Type:application/octet-stream -T "deploy\win-client\win-client_!pkg_version!_%platform%.7z" "%API%/content/%BINTRAY_REPO_OWNER%/%BINTRAY_REPO%/!pkg_name!/!pkg_version!/win-client_!pkg_version!_%platform%.7z?publish=1&override=1"
)
if exist "deploy\win-manager\win-manager_!pkg_version!_%platform%.7z" (
echo Uploading and publishing "deploy\win-manager\win-manager_!pkg_version!.7z"
%CURL% -H Content-Type:application/octet-stream -T "deploy\win-manager\win-manager_!pkg_version!.7z" "%API%/content/%BINTRAY_REPO_OWNER%/%BINTRAY_REPO%/!pkg_name!/!pkg_version!/win-manager_!pkg_version!.7z?publish=1&override=1"
echo Uploading and publishing "deploy\win-manager\win-manager_!pkg_version!_%platform%.7z"
%CURL% -H Content-Type:application/octet-stream -T "deploy\win-manager\win-manager_!pkg_version!_%platform%.7z" "%API%/content/%BINTRAY_REPO_OWNER%/%BINTRAY_REPO%/!pkg_name!/!pkg_version!/win-manager_!pkg_version!_%platform%.7z?publish=1&override=1"
)
rem if defined APPVEYOR_JOB_ID (