Don't switch to tag for snapshots

This commit is contained in:
Marcin Grzejszczak
2017-03-10 15:36:59 +01:00
parent 74a746b71e
commit 88118aa277

View File

@@ -344,7 +344,7 @@ done
assert_properties
set_default_props
check_if_anything_to_sync
if [[ -z "${VERSION}" ]] ; then
if echo $VERSION | egrep -q 'SNAPSHOT' || [[ -z "${VERSION}" ]; then
retrieve_current_branch
else
switch_to_tag