Added mchv deploy

This commit is contained in:
Andrea Cavalli 2020-08-23 14:19:09 +02:00
parent 744e0612c5
commit 2e9e66616a
2 changed files with 18 additions and 1 deletions

View File

@ -5,6 +5,7 @@
<activeProfiles>
<activeProfile>github</activeProfile>
<activeProfile>mchv</activeProfile>
</activeProfiles>
<profiles>
@ -24,6 +25,16 @@
</repository>
</repositories>
</profile>
<profile>
<id>mchv</id>
<repositories>
<repository>
<id>mchv</id>
<name>MCHV</name>
<url>https://mvn.mchv.eu</url>
</repository>
</repositories>
</profile>
</profiles>
<servers>
@ -32,6 +43,11 @@
<username>Cavallium</username>
<password>${env.PACKAGECLOUD_TOKEN}</password>
</server>
<server>
<id>mchv</id>
<username>cavallium</username>
<password>${env.MCHVCLOUD_TOKEN}</password>
</server>
</servers>
</settings>

View File

@ -60,7 +60,8 @@ if [[ ! -z "$(git status --porcelain | grep "src/main/resources/libs/$TRAVIS_OS_
git tag -a "v$NEW_VERSION" -m "Version $NEW_VERSION"
git push origin "v$NEW_VERSION"
git push
mvn -B -V deploy
mvn -B -V deploy -P publish-to-mchv
mvn -B -V deploy -P publish-to-github
# Upgrade the dependency of tdlight-java
cd $TRAVIS_BUILD_DIR