Skip to content

Commit 71bd6ee

Browse files
author
Artem Labazin
committed
improve deploy scripts
1 parent e1c447e commit 71bd6ee

4 files changed

Lines changed: 19 additions & 10 deletions

File tree

.travis.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,17 @@ jdk:
77
- openjdk8
88

99
install:
10-
./mvnw --settings .settings.xml compile -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -B -V
10+
./mvnw --settings .settings.xml compile -B -U
1111

1212
script:
13-
./mvnw --settings .settings.xml verify -DskipTests=false -Dmaven.javadoc.skip=true -B -U
13+
./mvnw -Dmaven.javadoc.skip=true --settings .settings.xml verify -B
1414

1515
before_deploy:
1616
- ./mvnw help:evaluate -N -Dexpression=project.version | grep -v '\['
1717
- export project_version=$(./mvnw help:evaluate -N -Dexpression=project.version | grep -v '\[')
18-
- echo "${GPG_SECRET_KEYS}" | base64 --decode | "${GPG_EXECUTABLE}" --import
19-
- echo "${GPG_OWNERTRUST}" | base64 --decode | "${GPG_EXECUTABLE}" --import-ownertrust
20-
- sed -i -- "s/\${env.SONATYPE_PASSWORD}/$SONATYPE_PASSWORD/g" .settings.xml
21-
- ./mvnw --settings .settings.xml deploy -DskipTests=true -Dmaven.javadoc.skip=false -B
18+
- echo "${GPG_SECRET_KEYS}" | base64 --decode | "${GPG_EXECUTABLE}" --batch --passphrase "${GPG_PASSPHRASE}" --import
19+
- echo "${GPG_OWNERTRUST}" | base64 --decode | "${GPG_EXECUTABLE}" --batch --passphrase "${GPG_PASSPHRASE}" --import-ownertrust
20+
- ./mvnw -DskipTests -Dmaven.test.skip=true -Dfindbugs.skip=true -Dpmd.skip=true -Dcheckstyle.skip -Dmaven.javadoc.skip=false --settings .settings.xml deploy -B
2221

2322
deploy:
2423
provider: releases

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1111

1212
- Add different logging frameworks.
1313

14+
## [1.1.4](https://github.com/appulse-projects/logging-java/releases/tag/1.1.4) - 2020-02-28
15+
16+
Deploy test version. Nothing changed since **1.1.3**.
17+
1418
## [1.1.3](https://github.com/appulse-projects/logging-java/releases/tag/1.1.3) - 2020-02-25
1519

1620
### Changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Just add dependency to your project.
1818
<dependency>
1919
<groupId>io.appulse</groupId>
2020
<artifactId>logging-java</artifactId>
21-
<version>1.1.3</version>
21+
<version>1.1.4</version>
2222
</dependency>
2323
...
2424
</dependencies>
@@ -27,7 +27,7 @@ Just add dependency to your project.
2727
**Gradle**:
2828

2929
```groovy
30-
compile 'io.appulse:logging-java:1.1.3'
30+
compile 'io.appulse:logging-java:1.1.4'
3131
```
3232

3333
And use it as usual:

pom.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ limitations under the License.
2424

2525
<groupId>io.appulse</groupId>
2626
<artifactId>logging-java</artifactId>
27-
<version>1.1.3</version>
27+
<version>1.1.4</version>
2828
<packaging>jar</packaging>
2929

3030
<properties>
@@ -66,7 +66,7 @@ limitations under the License.
6666
<url>https://github.com/appulse-projects/logging-java</url>
6767
<connection>scm:git:https://github.com/appulse-projects/logging-java.git</connection>
6868
<developerConnection>scm:git:https://github.com/appulse-projects/logging-java.git</developerConnection>
69-
<tag>1.1.3</tag>
69+
<tag>1.1.4</tag>
7070
</scm>
7171

7272
<distributionManagement>
@@ -397,6 +397,12 @@ limitations under the License.
397397
<goals>
398398
<goal>sign</goal>
399399
</goals>
400+
<configuration>
401+
<gpgArguments>
402+
<arg>--pinentry-mode</arg>
403+
<arg>loopback</arg>
404+
</gpgArguments>
405+
</configuration>
400406
</execution>
401407
</executions>
402408
</plugin>

0 commit comments

Comments
 (0)