Browse Source

github change protocol from git to https

master
pvincent 2 years ago
parent
commit
3fc1b2b7b7
  1. 2
      tools/wget_semver

2
tools/wget_semver

@ -15,7 +15,7 @@ function usage() {
}
function get_github() {
local all_releases=$(git ls-remote --tags --sort="v:refname" git://github.com/"$REPO_NAME" | grep -Eo "v?([0-9]+\.){2}[0-9]+$" )
local all_releases=$(git ls-remote --tags --sort="v:refname" https://github.com/"$REPO_NAME" | grep -Eo "v?([0-9]+\.){2}[0-9]+$")
# extract only VERSION without 'v'
local non_v_release=$(echo "$all_releases" | grep -v v | tail -n1 | cut -f2 | cut -d '/' -f3)

Loading…
Cancel
Save