fix version compare

This commit is contained in:
Jake
2021-10-07 10:55:00 -04:00
committed by GitHub
parent 9edc256caa
commit b0ed6432f6

View File

@@ -2,6 +2,6 @@ perimeter81)
name="Perimeter 81"
type="pkg"
downloadURL="https://static.perimeter81.com/agents/mac/snapshot/latest/Perimeter81.pkg"
appNewVersion="$(curl -fsIL "${downloadURL}" | grep -i ^x-amz-meta-version | sed -E 's/x-amz-meta-version: //')"
appNewVersion="$(curl -fsIL "${downloadURL}" | grep -i ^x-amz-meta-version | sed -E 's/x-amz-meta-version: //' | cut -d"." -f1-3))"
expectedTeamID="924635PD62"
;;