From d3a74ff7b77a898174e8647d3085e8cd80494759 Mon Sep 17 00:00:00 2001 From: BenjaSanchez Date: Wed, 28 Feb 2018 18:23:34 +0100 Subject: [PATCH] fix: increaseVersion bug --- ComplementaryScripts/increaseVersion.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ComplementaryScripts/increaseVersion.m b/ComplementaryScripts/increaseVersion.m index 206ad212..ac1200e7 100644 --- a/ComplementaryScripts/increaseVersion.m +++ b/ComplementaryScripts/increaseVersion.m @@ -8,7 +8,7 @@ function increaseVersion(version) fid = fopen('../history.md','r'); history = fscanf(fid,'%s'); fclose(fid); -if contains(history,['yeast' version ':']) +if ~contains(history,['yeast' version ':']) error('ERROR: update history.md first') end