Merge pull request #1642 from Darleev/v-danurg/vsmac_latest_implementation

macOS: VSMAC update tools with latest flag.
This commit is contained in:
Maxim Lobanov
2020-09-29 09:58:25 +03:00
committed by GitHub
3 changed files with 5 additions and 2 deletions

View File

@@ -3,6 +3,9 @@ source ~/utils/utils.sh
source ~/utils/xamarin-utils.sh source ~/utils/xamarin-utils.sh
VSMAC_VERSION=$(get_toolset_value '.xamarin.vsmac') VSMAC_VERSION=$(get_toolset_value '.xamarin.vsmac')
if [ $VSMAC_VERSION == "latest" ]; then
VSMAC_VERSION=$(curl https://formulae.brew.sh/api/cask/visual-studio.json 2>/dev/null | jq .version | tr -d \")
fi
VSMAC_DOWNLOAD_URL=$(buildVSMacDownloadUrl $VSMAC_VERSION) VSMAC_DOWNLOAD_URL=$(buildVSMacDownloadUrl $VSMAC_VERSION)
TMPMOUNT=`/usr/bin/mktemp -d /tmp/visualstudio.XXXX` TMPMOUNT=`/usr/bin/mktemp -d /tmp/visualstudio.XXXX`

View File

@@ -6,7 +6,7 @@
] ]
}, },
"xamarin": { "xamarin": {
"vsmac": "8.7.8.4", "vsmac": "latest",
"mono-versions": [ "mono-versions": [
"6.12.0.93", "6.10.0.106", "6.8.0.123", "6.6.0.166", "6.4.0.208" "6.12.0.93", "6.10.0.106", "6.8.0.123", "6.6.0.166", "6.4.0.208"
], ],

View File

@@ -6,7 +6,7 @@
] ]
}, },
"xamarin": { "xamarin": {
"vsmac": "8.7.8.4", "vsmac": "latest",
"mono-versions": [ "mono-versions": [
"6.12.0.93" "6.12.0.93"
], ],