datta/scripts/get_mattermost_url.sh

8 lines
194 B
Bash
Raw Permalink Normal View History

2023-11-20 10:24:56 +01:00
#!/bin/bash
curl -s https://api.github.com/repos/mattermost/desktop/releases/latest \
| grep "browser_download_url.*tar.gz" \
| cut -d : -f 2,3 \
| tr -d \" \
| tr -d " " \
| grep x64