Update Bintray delete script to fix deleting old builds

This commit is contained in:
Oliver Hamlet
2018-08-12 22:38:17 +01:00
parent 6b0876a1df
commit 1a8d4ebf5d
+2 -2
View File
@@ -24,7 +24,7 @@ install:
- rustup target add i686-pc-windows-msvc
- choco install -y doxygen.portable
- python -m pip install -r docs/requirements.txt
- ps: (New-Object Net.WebClient).DownloadFile('https://raw.githubusercontent.com/WrinklyNinja/ci-scripts/1.2.0/delete_old_bintray_versions.py', "$env:APPVEYOR_BUILD_FOLDER\delete_old_bintray_versions.py")
- ps: (New-Object Net.WebClient).DownloadFile('https://raw.githubusercontent.com/WrinklyNinja/ci-scripts/2.0.0/delete_old_bintray_versions.py', "$env:APPVEYOR_BUILD_FOLDER\delete_old_bintray_versions.py")
- ps: if ($env:PLATFORM -eq "Win32") { $env:ADDRESS_MODEL = '32' } else { $env:ADDRESS_MODEL = '64' }
before_build:
@@ -93,7 +93,7 @@ deploy:
appveyor_repo_tag: true
on_success:
- ps: python "$env:APPVEYOR_BUILD_FOLDER\delete_old_bintray_versions.py" -o loot -g loot-api -u loot -b snapshots -p loot-api -t $env:bintray_auth_token -a $env:github_auth_token -n 30
- ps: python "$env:APPVEYOR_BUILD_FOLDER\delete_old_bintray_versions.py" -g loot/loot-api -b loot/snapshots/loot-api -u wrinklyninja -k $env:bintray_auth_token -t $env:github_auth_token -n 30
on_finish:
- ps: (New-Object System.Net.WebClient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", "$($env:APPVEYOR_BUILD_FOLDER)\build\$($env:CONFIGURATION)\loot_api_internals_tests.xml")