Circle-CI -Only branch

This commit is contained in:
Wolf Posdorfer 2017-11-14 14:32:29 +01:00
parent d416a12558
commit 9f6c61ab7a
4 changed files with 23 additions and 0 deletions

10
.circleci.settings.xml Normal file
View File

@ -0,0 +1,10 @@
<settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>oss.sonatype</id>
<username>${env.OSS_SONATYPE_USERNAME}</username>
<password>${env.OSS_SONATYPE_PASSWORD}</password>
</server>
</servers>
</settings>

13
circle.yml Normal file
View File

@ -0,0 +1,13 @@
dependencies:
pre:
- mkdir -p ~/.gnupg
- cp gpg/pubring.gpg ~/.gnupg/pubring.gpg
- openssl aes-256-cbc -d -in gpg/secret -k $SIGN_SECRET >> ~/.gnupg/secring.gpg
override:
- mvn clean install dependency:resolve-plugins dependency:go-offline
deployment:
main:
branch: master
commands:
- mvn -P release -s .circleci.settings.xml -DskipTests deploy -Dgpg.passphrase=$GPG_PASSPHRASE

BIN
gpg/pubring.gpg Normal file

Binary file not shown.

BIN
gpg/secret Normal file

Binary file not shown.