Skip to content

Commit

Permalink
Don't update Eclipse plugin in set-version.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
konsoletyper committed Sep 7, 2019
1 parent 5643e82 commit 379fae1
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions set-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@

$MVN_CMD versions:set -DnewVersion=$1 -DgenerateBackupPoms=false

cd tools/eclipse
$MVN_CMD tycho-versions:set-version -DnewVersion=$2
#cd tools/eclipse
#$MVN_CMD tycho-versions:set-version -DnewVersion=$2

cd core-plugin
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
cd ..
#cd core-plugin
#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
#cd ..

cd m2e-plugin
sed -r -i -e "s/<versionRange>.+<\/versionRange>/<versionRange>$1<\/versionRange>/" lifecycle-mapping-metadata.xml
cd ..
#cd m2e-plugin
#sed -r -i -e "s/<versionRange>.+<\/versionRange>/<versionRange>$1<\/versionRange>/" lifecycle-mapping-metadata.xml
#cd ..

cd ../..
#cd ../..

0 comments on commit 379fae1

Please sign in to comment.