Fix Eclipse plugin upload script

Don't upload CLI and IDEA artifacts to bintray
This commit is contained in:
Alexey Andreev 2018-01-11 11:37:14 +03:00
parent 71687e9591
commit bbf9faee5b
3 changed files with 12 additions and 4 deletions

View File

@ -32,7 +32,7 @@ before_install:
- ./set-version.sh $NEW_VERSION $ECLIPSE_VERSION - ./set-version.sh $NEW_VERSION $ECLIPSE_VERSION
install: install:
- mvn install -Dteavm.build.all=false -P with-idea -P with-eclipse -DskipTests=true -Dmaven.javadoc.skip=true -B -V - mvn install -Dteavm.build.all=false -P with-idea -P with-eclipse -P with-cli -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- pushd tests/src/test/js - pushd tests/src/test/js
- npm config set prefix=$HOME/.node_modules - npm config set prefix=$HOME/.node_modules
- npm install - npm install
@ -59,7 +59,7 @@ after_success: >
export TEAVM_FTP_HOST export TEAVM_FTP_HOST
export TEAVM_FTP_LOGIN export TEAVM_FTP_LOGIN
export TEAVM_FTP_PASSWORD export TEAVM_FTP_PASSWORD
mvn deploy -Dteavm.build.all=false -DskipTests --settings travis-settings.xml -P deploy-to-bintray -P with-idea && \ mvn deploy -Dteavm.build.all=false -DskipTests --settings travis-settings.xml -P deploy-to-bintray && \
./upload-files.sh ./upload-files.sh
fi fi
after_script: after_script:

View File

@ -88,7 +88,6 @@
<module>html4j</module> <module>html4j</module>
<module>platform</module> <module>platform</module>
<module>tools/core</module> <module>tools/core</module>
<module>tools/cli</module>
<module>tools/maven</module> <module>tools/maven</module>
<module>tools/chrome-rdp</module> <module>tools/chrome-rdp</module>
<module>tools/junit</module> <module>tools/junit</module>
@ -324,6 +323,13 @@
</modules> </modules>
</profile> </profile>
<profile>
<id>with-cli</id>
<modules>
<module>tools/cli</module>
</modules>
</profile>
<profile> <profile>
<id>with-idea</id> <id>with-idea</id>
<modules> <modules>

View File

@ -32,5 +32,7 @@ curl --ftp-create-dirs -T .idea-repository.xml \
cd tools/eclipse/updatesite/target/repository cd tools/eclipse/updatesite/target/repository
find . -type f -exec curl \ find . -type f -exec curl \
--ftp-create-dirs \ --ftp-create-dirs \
-u $TEAVM_FTP_LOGIN:$TEAVM_FTP_PASSWORD -T {} ftp://$TEAVM_FTP_HOST/httpdocs/eclipse/update-site/$BASE_VERSION-dev \; -u $TEAVM_FTP_LOGIN:$TEAVM_FTP_PASSWORD \
-T {} \
ftp://$TEAVM_FTP_HOST/httpdocs/eclipse/update-site/$BASE_VERSION-dev/{} \;
cd ../../../../.. cd ../../../../..