Skip to content

Commit 850742d

Browse files
authored
Update to next snapshot version (#67)
* update to next snapshot version * enable snapshot * clean up release yml
1 parent 8099892 commit 850742d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/maven_release.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ on:
44
push:
55
branches:
66
- master
7-
# Sequence of patterns matched against refs/tags
8-
#tags:
9-
# - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
107
jobs:
118
build:
129
name: Build
@@ -68,7 +65,7 @@ jobs:
6865
- id: install-secret-key
6966
name: Install gpg secret key
7067
run: |
71-
cat <(echo -e "${{ secrets.ORG_GPG_PASSPHRASE }}") | gpg --batch --import
68+
cat <(echo -e "${{ secrets.ORG_GPG_PRIVATE_KEY }}") | gpg --batch --import
7269
gpg --list-secret-keys --keyid-format LONG
7370
7471
- name: Set up Maven Central Repository
@@ -81,7 +78,7 @@ jobs:
8178
server-password: MAVEN_PASSWORD
8279

8380
- name: Publish package
84-
run: mvn -DskipTests=true --batch-mode -P ossrh-publish -Dgpg.passphrase=${{ secrets.ORG_GPG_PRIVATE_KEY }} deploy
81+
run: mvn -DskipTests=true --batch-mode -P ossrh-publish -Dgpg.passphrase=${{ secrets.ORG_GPG_PASSPHRASE }} deploy
8582
env:
8683
MAVEN_USERNAME: ${{ secrets.CENTRAL_SONATYPE_TOKEN_USERNAME }}
8784
MAVEN_PASSWORD: ${{ secrets.CENTRAL_SONATYPE_TOKEN_PASSWORD }}

pom.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<packaging>jar</packaging>
1111
<name>JsonNullable Jackson module</name>
1212
<description>JsonNullable wrapper class and Jackson module to support fields with meaningful null values.</description>
13-
<version>0.2.7</version>
13+
<version>0.2.8-SNAPSHOT</version>
1414

1515
<url>https://github.com/OpenAPITools/jackson-databind-nullable</url>
1616
<scm>
@@ -151,6 +151,9 @@
151151
<id>central</id>
152152
<name>Central Repository OSSRG Snapshots</name>
153153
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
154+
<snapshots>
155+
<enabled>true</enabled>
156+
</snapshots>
154157
</snapshotRepository>
155158
</distributionManagement>
156159
<build>

0 commit comments

Comments
 (0)