| <project default="main"> |
| <property name="current" value="1.5.0"/> |
| <property name="new" value="1.5.1"/> |
| |
| <target name="main"> |
| <replace dir="." token="${current}-SNAPSHOT" value="${new}-SNAPSHOT"> |
| <include name="pom.xml"/> |
| <include name="plugins/**/org.eclipse.epsilon.*/pom.xml"/> |
| <include name="features/org.eclipse.epsilon.*/pom.xml"/> |
| <include name="standalone/org.eclipse.epsilon.standalone/pom.xml"/> |
| <include name="tests/org.eclipse.epsilon.workflow.test/pom.xml"/> |
| </replace> |
| |
| <replace file="standalone/org.eclipse.epsilon.standalone/pom.xml" |
| token="epsilon-${current}" value="epsilon-${new}"/> |
| |
| <replace dir="." token="${current}" value="${new}"> |
| <include name="features/org.eclipse.epsilon.*/feature.xml"/> |
| <include name="releng/org.eclipse.epsilon.updatesite.interim/site.xml"/> |
| </replace> |
| |
| <replace dir="." token="Bundle-Version: ${current}.qualifier" value="Bundle-Version: ${new}.qualifier"> |
| <include name="plugins/org.eclipse.epsilon.*/META-INF/MANIFEST.MF"/> |
| <include name="standalone/org.eclipse.epsilon.standalone/META-INF/MANIFEST.MF"/> |
| <include name="tests/org.eclipse.epsilon.workflow.test/META-INF/MANIFEST.MF"/> |
| </replace> |
| |
| <echo>Don't forget to also update the version in jarmodel.xml and re-run standalone/org.eclipse.epsilon.standalone/jarmodel2mvn.launch before building on Jenkins!</echo> |
| |
| </target> |
| |
| </project> |