Added mchv deploy
This commit is contained in:
parent
744e0612c5
commit
2e9e66616a
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
<activeProfiles>
|
<activeProfiles>
|
||||||
<activeProfile>github</activeProfile>
|
<activeProfile>github</activeProfile>
|
||||||
|
<activeProfile>mchv</activeProfile>
|
||||||
</activeProfiles>
|
</activeProfiles>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
@ -24,6 +25,16 @@
|
|||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
</profile>
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>mchv</id>
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>mchv</id>
|
||||||
|
<name>MCHV</name>
|
||||||
|
<url>https://mvn.mchv.eu</url>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
<servers>
|
<servers>
|
||||||
@ -32,6 +43,11 @@
|
|||||||
<username>Cavallium</username>
|
<username>Cavallium</username>
|
||||||
<password>${env.PACKAGECLOUD_TOKEN}</password>
|
<password>${env.PACKAGECLOUD_TOKEN}</password>
|
||||||
</server>
|
</server>
|
||||||
|
<server>
|
||||||
|
<id>mchv</id>
|
||||||
|
<username>cavallium</username>
|
||||||
|
<password>${env.MCHVCLOUD_TOKEN}</password>
|
||||||
|
</server>
|
||||||
</servers>
|
</servers>
|
||||||
</settings>
|
</settings>
|
||||||
|
|
||||||
|
@ -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 tag -a "v$NEW_VERSION" -m "Version $NEW_VERSION"
|
||||||
git push origin "v$NEW_VERSION"
|
git push origin "v$NEW_VERSION"
|
||||||
git push
|
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
|
# Upgrade the dependency of tdlight-java
|
||||||
cd $TRAVIS_BUILD_DIR
|
cd $TRAVIS_BUILD_DIR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user