From 259f58047c0322ca260929ea60314ce6cf69ba0d Mon Sep 17 00:00:00 2001 From: Jeremiah Wuenschel Date: Tue, 26 Jul 2016 13:56:38 -0700 Subject: [PATCH] Fetching tags before attempting to bump the version --- wercker.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wercker.yml b/wercker.yml index b139e5f9..152532bf 100644 --- a/wercker.yml +++ b/wercker.yml @@ -12,6 +12,9 @@ build: deploy: steps: + - script: + name: update tags + code: git fetch --tags - script: name: get highest version from tags code: export VERSION=$(sh incrementVersion.sh)