Unverified Commit cb907c59 authored by John Colvin's avatar John Colvin Committed by GitHub
Browse files

bluejeans-gui: fix version fetching in update script (#140837)

parent 9bd53ad9
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -3,10 +3,8 @@

set -eu -o pipefail

version="$(curl -Ls https://www.bluejeans.com/download | \
    pup 'a[aria-label~="Linux"] attr{href}' | \
    #output contains *.deb and *.rpm
    grep "\.rpm" | \
version="$(curl -Ls https://www.bluejeans.com/downloads | \
    pup 'a[href$=".rpm"] attr{href}' | \
    awk -F'[ ._ ]' '{printf $6"."$7"."$8"."$9"\n"}')"

update-source-version bluejeans-gui "$version"