From dfe022da4db0b3b3b8a0a0b5da150b2a4b3a7fb6 Mon Sep 17 00:00:00 2001 From: Ryan Graham Date: Tue, 4 Mar 2014 12:04:06 -0800 Subject: [PATCH] Fix: Use $HUBFLOW_REPO for updates Version check URL was hardcoded, despite a suitable constant --- hubflow-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hubflow-common b/hubflow-common index ad58dbac0..47d36b0a8 100644 --- a/hubflow-common +++ b/hubflow-common @@ -508,7 +508,7 @@ hubflow_push_latest_changes_to_origin() { } hubflow_get_latest_version_number() { - LATEST="`git ls-remote --tags https://github.com/datasift/gitflow | grep -v '\^' | tail -n 1 | cut -d / -f 3`" + LATEST="`git ls-remote --tags $HUBFLOW_REPO | grep -v '\^' | tail -n 1 | cut -d / -f 3`" echo $LATEST }