mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Fix set-version script
This commit is contained in:
parent
d718177fe0
commit
8851794485
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user