diff --git a/publish.sh b/publish.sh
index b11db6e54d5fae0b160d4f9f1049422a3d88b8bd..d2738c36a1143ad633e739627f3443770af42904 100755
--- a/publish.sh
+++ b/publish.sh
@@ -60,8 +60,7 @@ select_part() {
 git pull --tags
 # Look for a version tag in Git. If not found, ask the user to provide one
 [ $(git tag --points-at HEAD | wc -l) == 1 ] || (
-  latest_version=$(git describe --abbrev=00 || \
-    (bumpversion --dry-run --list patch | grep current_version | sed -r s,"^.*=",,) || echo '0.0.1')
+  latest_version=$( (bumpversion --dry-run --list patch | grep current_version | sed -r s,"^.*=",,) || echo '0.0.1')
   echo
   echo "Current commit has not been tagged with a version. Latest known version is $latest_version."
   echo