Update tsh.download.recipe
Now uses the Github to search for the version number.
Updated download url.
<key>Arguments</key>
<dict>
<key>url</key>
- <string>https://goteleport.com/docs/ver/10.0/installation/#macos</string>
+ <string>https://github.com/gravitational/teleport/releases</string>
<key>re_pattern</key>
- <string>https:\/\/get.gravitational.com\/tsh-([\d\.]*).pkg</string>
+ <string>href=\"/gravitational/teleport/releases/tag/v([0-9]+(\.[0-9]+)+)\"</string>
<key>result_output_var_name</key>
<string>version</string>
</dict>
<key>Arguments</key>
<dict>
<key>url</key>
- <string>https://get.gravitational.com/tsh-%version%.pkg</string>
+ <string>https://cdn.teleport.dev/tsh-%version%.pkg</string>
<key>filename</key>
<string>%NAME%-%version%.pkg</string>
</dict>
