mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Fixes
This commit is contained in:
parent
12bdf48737
commit
e63c6e10f6
1 changed files with 6 additions and 7 deletions
|
@ -289,10 +289,10 @@ stages:
|
||||||
osName: 'Linux'
|
osName: 'Linux'
|
||||||
imageName: 'ubuntu-16.04'
|
imageName: 'ubuntu-16.04'
|
||||||
pattern: 'Lidarr.**.linux.tar.gz'
|
pattern: 'Lidarr.**.linux.tar.gz'
|
||||||
Mac:
|
# Mac:
|
||||||
osName: 'Mac'
|
# osName: 'Mac'
|
||||||
imageName: 'macos-10.13'
|
# imageName: 'macos-10.13'
|
||||||
pattern: 'Lidarr.**.osx.tar.gz'
|
# pattern: 'Lidarr.**.osx.tar.gz'
|
||||||
Windows:
|
Windows:
|
||||||
osName: 'Windows'
|
osName: 'Windows'
|
||||||
imageName: 'vs2017-win2016'
|
imageName: 'vs2017-win2016'
|
||||||
|
@ -387,11 +387,10 @@ stages:
|
||||||
cp -r -v ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin/Lidarr/. ./bin/
|
cp -r -v ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin/Lidarr/. ./bin/
|
||||||
displayName: Move Package Contents
|
displayName: Move Package Contents
|
||||||
- bash: |
|
- bash: |
|
||||||
json=$(curl -s https://api.github.com/repos/mozilla/geckodriver/releases/latest)
|
|
||||||
if [[ $OSNAME == "Mac" ]]; then
|
if [[ $OSNAME == "Mac" ]]; then
|
||||||
url=$(echo "$json" | jq -r '.assets[].browser_download_url | select(contains("macos"))')
|
url=https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-macos.tar.gz
|
||||||
elif [[ $OSNAME == "Linux" ]]; then
|
elif [[ $OSNAME == "Linux" ]]; then
|
||||||
url=$(echo "$json" | jq -r '.assets[].browser_download_url | select(contains("linux64"))')
|
url=https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-linux64.tar.gz
|
||||||
else
|
else
|
||||||
echo "Unhandled OS"
|
echo "Unhandled OS"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue