Fetch the tag from the origin

Fetch the tag from the origin

diff --git a/entrypoint.sh b/entrypoint.sh
index aa30149..4a6fe39 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -19,7 +19,7 @@ bundle install
 
 gem_version=$(ruby -r rubygems -e "puts Gem::Specification::load('$(ls *.gemspec)').version")
 
-if git rev-parse "v$gem_version" >/dev/null 2>&1
+if git fetch origin "refs/tags/v$gem_version" >/dev/null 2>&1
 then
   echo "Tag 'v$gem_version' already exists"
 else

GitHub sha: b16118aa210a7017e6b85b223e7d28b28433dca9

This commit appears in #2 which was approved by davidtaylorhq. It was merged by CvX.