From 2f73bf116b5c583ed81c55163d7e786b10ee110f Mon Sep 17 00:00:00 2001
From: Sandro Weber <webers@in.tum.de>
Date: Mon, 7 Dec 2015 16:10:28 +0100
Subject: [PATCH] [NRRPLT-2942] mismatch between bumped version and json file

Change-Id: I970db376eff14b69ff854199a62e34aa7e8ab1bc
---
 gz3d/utils/Gruntfile.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gz3d/utils/Gruntfile.js b/gz3d/utils/Gruntfile.js
index ca06a50..d9397a3 100644
--- a/gz3d/utils/Gruntfile.js
+++ b/gz3d/utils/Gruntfile.js
@@ -148,10 +148,12 @@ module.exports = function(grunt) {
     grunt.log.writeln('[grunt ci:' + target + '] GERRIT_BRANCH is: ' + branch);
     if (target === 'patch' || target === 'minor' || target === 'major') {
       tasks.unshift('bump:' + target);
-      tasks.push('gittag:dist');
       tasks.push('gitadd:bump');
       tasks.push('gitcommit:bump');
       tasks.push('gitpush:bump');
+
+      tasks.push('gittag:dist');
+      tasks.push('gitpush:bump');
     }
     grunt.task.run(tasks);
   });
-- 
GitLab