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