From 54077ba1e16738c8d0d76ad20c0e3c1322b3e922 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 7 Mar 2018 09:21:41 +0100 Subject: [PATCH] Fix condition in version-from-git This should be the negation of the condition above, not exactly the same but double negated. Change-Id: I24e5f73480c83777f8dcb5ca71283afe5565212f --- roles/version-from-git/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/version-from-git/tasks/main.yaml b/roles/version-from-git/tasks/main.yaml index d2c33f735..16330fafe 100644 --- a/roles/version-from-git/tasks/main.yaml +++ b/roles/version-from-git/tasks/main.yaml @@ -61,7 +61,7 @@ # Some repos, like storyboard-webclient, do not have any tags. git describe # throws an error in those repos. To be consistent, do a commit count the # hard way. -- when: not commits_since_tag_output.rc != 0 +- when: commits_since_tag_output.rc != 0 block: - name: Get commits since the beginning