2021-06-18 11:08:37 +01:00
|
|
|
#!/usr/bin/env nix-shell
|
|
|
|
#!nix-shell -i bash -p curl pup common-updater-scripts
|
|
|
|
|
|
|
|
set -eu -o pipefail
|
|
|
|
|
2021-10-07 08:35:33 +01:00
|
|
|
version="$(curl -Ls https://www.bluejeans.com/downloads | \
|
|
|
|
pup 'a[href$=".rpm"] attr{href}' | \
|
2021-10-07 11:50:10 +01:00
|
|
|
# output contains app and events
|
|
|
|
grep "desktop-app" | \
|
2021-06-18 11:08:37 +01:00
|
|
|
awk -F'[ ._ ]' '{printf $6"."$7"."$8"."$9"\n"}')"
|
|
|
|
|
|
|
|
update-source-version bluejeans-gui "$version"
|