more label syncs

This commit is contained in:
Søren Theilgaard
2021-08-27 11:17:41 +02:00
parent 553d06826d
commit cfaac1eb28
7 changed files with 29 additions and 35 deletions
+4 -4
View File
@@ -2,11 +2,11 @@ jetbrainspycharmce|\
pycharmce)
name="PyCharm CE"
type="dmg"
appNewVersion=$(curl -fs "https://data.services.jetbrains.com/products/releases?code=PCC&latest=true&type=release" | grep -o 'version*.*,' | cut -d '"' -f3)
if [[ $(arch) == i386 ]]; then
downloadURL="https://download.jetbrains.com/product?code=PCC&latest&distribution=mac"
downloadURL="https://download.jetbrains.com/product?code=PCC&latest&distribution=mac"
elif [[ $(arch) == arm64 ]]; then
downloadURL="https://download.jetbrains.com/product?code=PCC&latest&distribution=macM1"
downloadURL="https://download.jetbrains.com/product?code=PCC&latest&distribution=macM1"
fi
appNewVersion=$( curl -fsIL "${downloadURL}" | grep -i "location" | tail -1 | sed -E 's/.*\/[a-zA-Z-]*-([0-9.]*).*[-.].*dmg/\1/g' )
expectedTeamID="2ZEFAR8TH3"
;;
;;