anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / applications / networking / instant-messengers / bluejeans / update.sh
blob3bb7d309e87558f18a1bfe58d1b9028941254272
1 #!/usr/bin/env nix-shell
2 #!nix-shell -i bash -p curl pup common-updater-scripts
4 set -eu -o pipefail
6 version="$(curl -Ls https://www.bluejeans.com/downloads | \
7 pup 'a[href$=".rpm"] attr{href}' | \
8 # output contains app and events
9 grep "desktop-app" | \
10 awk -F'[ ._ ]' '{printf $6"."$7"."$8"."$9"\n"}')"
12 update-source-version bluejeans-gui "$version"