Automatically push newly created tag
authorHugo Villeneuve <hugo@hugovil.com>
Mon, 30 Mar 2020 15:56:21 +0000 (11:56 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Mon, 30 Mar 2020 15:56:21 +0000 (11:56 -0400)
scripts/hv-git-functions.sh

index 4ab8fe0..29c6cc2 100644 (file)
@@ -120,6 +120,7 @@ hv_git_tag_from_branch()
             echo "${tag} (error)"
         else
             echo "${tag}"
+            git push --tags
         fi
     else
         echo "${FUNCNAME}: branch \"${b}\" not found"