From 56bf2a3dc4af44c2f14179b3160e329c44e1144a Mon Sep 17 00:00:00 2001 From: Rob Smithers Date: Wed, 2 Mar 2022 16:04:44 -0500 Subject: [PATCH] Create 1passwordcli.sh --- fragments/labels/1passwordcli.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 fragments/labels/1passwordcli.sh diff --git a/fragments/labels/1passwordcli.sh b/fragments/labels/1passwordcli.sh new file mode 100644 index 0000000..4ea7d80 --- /dev/null +++ b/fragments/labels/1passwordcli.sh @@ -0,0 +1,8 @@ +1passwordcli) + name="1Password CLI" + type="pkg" + packageID="com.1password.op" + downloadURL=$(curl -fs https://app-updates.agilebits.com/product_history/CLI | grep -m 1 -i op_apple_universal | cut -d'"' -f 2) + appNewVersion=$(echo $downloadURL | sed -E 's/.*\/[a-zA-Z_]*([0-9.]*)\..*/\1/g') + expectedTeamID="2BUA8C4S2C" + ;; \ No newline at end of file