mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Stop using pushd/popd in travis scripts
This commit is contained in:
parent
4b1b702ce6
commit
71687e9591
|
@ -2,18 +2,18 @@
|
|||
|
||||
mvn versions:set -DnewVersion=$1 -DgenerateBackupPoms=false
|
||||
|
||||
pushd tools/eclipse
|
||||
cd tools/eclipse
|
||||
mvn tycho-versions:set-version -DnewVersion=$2
|
||||
|
||||
pushd 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/(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
|
||||
cd ..
|
||||
|
||||
pushd m2e-plugin
|
||||
cd m2e-plugin
|
||||
sed -r -i -e "s/<versionRange>.+<\/versionRange>/<versionRange>$1<\/versionRange>/" lifecycle-mapping-metadata.xml
|
||||
popd
|
||||
cd ..
|
||||
|
||||
popd
|
||||
cd ../..
|
||||
|
||||
|
|
|
@ -29,8 +29,8 @@ curl --ftp-create-dirs -T .idea-repository.xml \
|
|||
#
|
||||
# Upload Eclipse plugin
|
||||
#
|
||||
pushd tools/eclipse/updatesite/target/repository
|
||||
cd tools/eclipse/updatesite/target/repository
|
||||
find . -type f -exec curl \
|
||||
--ftp-create-dirs \
|
||||
-u $TEAVM_FTP_LOGIN:$TEAVM_FTP_PASSWORD -T {} ftp://$TEAVM_FTP_HOST/httpdocs/eclipse/update-site/$BASE_VERSION-dev \;
|
||||
popd
|
||||
cd ../../../../..
|
Loading…
Reference in New Issue
Block a user