Fix set-version script

This commit is contained in:
Alexey Andreev 2015-12-26 14:24:43 +03:00
parent d718177fe0
commit 8851794485
3 changed files with 5 additions and 5 deletions

View File

@ -5,9 +5,9 @@ pushd tools/eclipse
mvn org.eclipse.tycho:tycho-versions-plugin:0.21.0:set-version -DnewVersion=$1
pushd core-plugin
mvn -f dep-pom.xml versions:set -DnewVersion=$1 -DgenerateBackupPoms=false
sed -r -i -e "s/lib\/(teavm(-[a-z]+)+)-.+\.jar/\1-$1.jar/" build.properties
sed -r -i -e "s/lib\/(teavm(-[a-z]+)+)-.+\.jar/\1-$1.jar/" META-INF/MANIFEST.MF
sed -r -i -e "s/<version><!-- update -->(.+)<\/version>/<version><!-- update -->$1<\/version>/" dep-pom.xml
sed -r -i -e "s/(lib\/teavm(-[a-z]+)+)-.+\.jar/\1-$1.jar/" build.properties
sed -r -i -e "s/(lib\/teavm(-[a-z]+)+)-.+\.jar/\1-$1.jar/" META-INF/MANIFEST.MF
popd
pushd m2e-plugin

View File

@ -19,7 +19,7 @@
<groupId>org.teavm</groupId>
<artifactId>teavm-eclipse-core-deps</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version><!-- update -->1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>TeaVM dependencies for Eclipse plugin</name>

View File

@ -5,7 +5,7 @@
<pluginExecutionFilter>
<groupId>org.teavm</groupId>
<artifactId>teavm-maven-plugin</artifactId>
<versionRange>0.0.0</versionRange>
<versionRange>1.0.0-SNAPSHOT</versionRange>
<goals>
<goal>compile</goal>
</goals>