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
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
- npm config set prefix=$HOME/.node_modules
- npm install
@ -59,7 +59,7 @@ after_success: >
export TEAVM_FTP_HOST
export TEAVM_FTP_LOGIN
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
fi
after_script:

View File

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

View File

@ -32,5 +32,7 @@ curl --ftp-create-dirs -T .idea-repository.xml \
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 \;
-u $TEAVM_FTP_LOGIN:$TEAVM_FTP_PASSWORD \
-T {} \
ftp://$TEAVM_FTP_HOST/httpdocs/eclipse/update-site/$BASE_VERSION-dev/{} \;
cd ../../../../..