From 712074a3231286af5fb1cfd10baa7be669bd1639 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Mon, 2 Oct 2017 12:25:54 +0200
Subject: [PATCH] Only finish hotfix when something had changed

---
 tasks/collect_config/finish/gitflow.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tasks/collect_config/finish/gitflow.yml b/tasks/collect_config/finish/gitflow.yml
index 64cc9c5..ca3d160 100644
--- a/tasks/collect_config/finish/gitflow.yml
+++ b/tasks/collect_config/finish/gitflow.yml
@@ -8,6 +8,7 @@
   become: false
   with_items:
     - 'flow hotfix finish -F -p -m "Config export {{ version }}" {{ version }}'
+  when: git_status.stdout != ''
 
 - name: "Delete webroot working copy"
   file:
-- 
GitLab