Don't update Eclipse plugin in set-version.sh

This commit is contained in:
Alexey Andreev 2019-09-07 22:19:03 +03:00
parent 5643e82a3d
commit 379fae1c3b

View File

@ -2,18 +2,18 @@
$MVN_CMD versions:set -DnewVersion=$1 -DgenerateBackupPoms=false $MVN_CMD versions:set -DnewVersion=$1 -DgenerateBackupPoms=false
cd tools/eclipse #cd tools/eclipse
$MVN_CMD tycho-versions:set-version -DnewVersion=$2 #$MVN_CMD tycho-versions:set-version -DnewVersion=$2
cd core-plugin #cd core-plugin
sed -r -i -e "s/<version><!-- update -->(.+)<\/version>/<version><!-- update -->$1<\/version>/" dep-pom.xml #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/" build.properties
sed -r -i -e "s/(lib\/teavm(-[a-z]+)+)-.+\.jar/\1-$1.jar/" META-INF/MANIFEST.MF #sed -r -i -e "s/(lib\/teavm(-[a-z]+)+)-.+\.jar/\1-$1.jar/" META-INF/MANIFEST.MF
cd .. #cd ..
cd m2e-plugin #cd m2e-plugin
sed -r -i -e "s/<versionRange>.+<\/versionRange>/<versionRange>$1<\/versionRange>/" lifecycle-mapping-metadata.xml #sed -r -i -e "s/<versionRange>.+<\/versionRange>/<versionRange>$1<\/versionRange>/" lifecycle-mapping-metadata.xml
cd .. #cd ..
cd ../.. #cd ../..