Skip to content

Commit

Permalink
Update sec.gpg.enc to binary encoded secret
Browse files Browse the repository at this point in the history
Previous attempts at ecrypted secret failed due to improperly encoded
file. Local tests revealed that sonatype creds weren't configured
correctly for the defined server. Maven and Gradle snapshots uploaded
locally using updated configs.
  • Loading branch information
jimschubert committed Jun 10, 2018
1 parent 36d1ec3 commit 276afef
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ cache:
- $HOME/samples/client/petstore/typescript-angular/typings
- $HOME/perl5

# Don't cache artifacts installed by this build.
before_cache:
- rm -rf $HOME/.m2/repository/org/openapitools

services:
- docker

Expand Down
5 changes: 5 additions & 0 deletions CI/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
<username>${env.SONATYPE_USERNAME}</username>
<password>${env.SONATYPE_PASSWORD}</password>
</server>
<server>
<id>ossrh</id>
<username>${env.SONATYPE_USERNAME}</username>
<password>${env.SONATYPE_PASSWORD}</password>
</server>
</servers>
<mirrors/>
<proxies/>
Expand Down
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<licenses>
<license>
Expand Down
Binary file modified sec.gpg.enc
Binary file not shown.

0 comments on commit 276afef

Please sign in to comment.