diff --git a/update-gluon.sh b/update-gluon.sh index a8011c8cb08a88bf82b8e4bb4fe8c703800c6edc..fd75a8ac56ae211b9f85f5573b6b2e1dd28c6acb 100755 --- a/update-gluon.sh +++ b/update-gluon.sh @@ -10,7 +10,7 @@ gluon_fork_git_url="ssh://git@gitlab.freifunk-stuttgart.de:22220/firmware/gluon. gluon_upstream_git_url="https://github.com/freifunk-gluon/gluon.git" site_git_url="ssh://git@gitlab.freifunk-stuttgart.de:22220/firmware/site-ffs.git" -upstream_newest_minor=$(git ls-remote --tags --refs "$gluon_upstream_git_url" "refs/tags/$gluon_major\*" | cut -d/ -f3 | sort -r -n -t. -k2 | head -n1) +upstream_newest_minor=$(git ls-remote --tags --refs "$gluon_upstream_git_url" "refs/tags/$gluon_major*" | cut -d/ -f3 | sort -r -n -t. -k2 | head -n1) # branch name in our forked gluon fork_newest_minor_branch="$upstream_newest_minor-ffs" fork_newest_minor_tag="$upstream_newest_minor-ffs0.1"