Skip to content

Commit 276afef

Browse files
committed
Update sec.gpg.enc to binary encoded secret
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.
1 parent 36d1ec3 commit 276afef

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ cache:
2727
- $HOME/samples/client/petstore/typescript-angular/typings
2828
- $HOME/perl5
2929

30-
# Don't cache artifacts installed by this build.
31-
before_cache:
32-
- rm -rf $HOME/.m2/repository/org/openapitools
33-
3430
services:
3531
- docker
3632

CI/settings.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
<username>${env.SONATYPE_USERNAME}</username>
1111
<password>${env.SONATYPE_PASSWORD}</password>
1212
</server>
13+
<server>
14+
<id>ossrh</id>
15+
<username>${env.SONATYPE_USERNAME}</username>
16+
<password>${env.SONATYPE_PASSWORD}</password>
17+
</server>
1318
</servers>
1419
<mirrors/>
1520
<proxies/>

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@
6565
<id>ossrh</id>
6666
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
6767
</snapshotRepository>
68+
<repository>
69+
<id>ossrh</id>
70+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
71+
</repository>
6872
</distributionManagement>
6973
<licenses>
7074
<license>

sec.gpg.enc

-6.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)