GIT_HASH="$(echo ${GIT_VERSION} | cut -d- -f3)"
if [ -z "${GIT_VERSION}" ]; then
- LAST_TAG=0.0
+ # We used 0.0.XXXX for master in the previous incarnation of our build pipeline.
+ # This would become 0.0.0.XXXX in this incarnation, which would break upgrades.
+ # Hence, 0.1.0.XXXX will be the version for master for now on.
+ # This _should_ be ok for forever is we stick to X.Y.Z for version numbers
+ LAST_TAG=0.1.0
COMMITS_SINCE_TAG="$(git rev-list --count 12c868770afc20b6cc0da439d881105151d557dd..HEAD 2> /dev/null)"
GIT_HASH="$(git rev-parse HEAD | cut -c1-10 2> /dev/null)"
fi