Merged 5.2.N (5.2.1) to trunk (5.2)

125216 mrogers: correcting regex


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/services/full-installer/trunk@125976 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Matt Ward
2016-04-28 10:46:00 +00:00
parent 2bb4b29713
commit 27c00d3640

View File

@@ -155,13 +155,13 @@
<!-- Check that we are not using the nightly build for a non snapshot release -->
<if>
<and>
<matches string="${base.installer.version}" pattern="*nightlybuilds*"/>
<matches string="${base.installer.version}" pattern=".*nightlybuilds.*"/>
<not>
<matches string="${project.version}" pattern="*SNAPSHOT"/>
<matches string="${project.version}" pattern="^.*SNAPSHOT$"/>
</not>
</and>
<then>
<fail message="do not use nightlybuilds for a non snapshot release" />
<fail message="do not use nightlybuilds as a base version for a non snapshot service pack or hotfix release" />
</then>
</if>