Skip to content

Commit 6bab1f9

Browse files
committed
chore: Changelog updated and Maven central snapshot release setup
Signed-off-by: Maximillian Arruda <dearrudam@gmail.com>
1 parent 6150692 commit 6bab1f9

2 files changed

Lines changed: 22 additions & 8 deletions

File tree

.github/workflows/release-snapshot.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,23 @@ jobs:
3434
with:
3535
distribution: 'temurin'
3636
java-version: 11
37-
overwrite-settings: false
38-
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
39-
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
40-
37+
server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml
38+
server-username: MAVEN_USERNAME # env variable for username in deploy
39+
server-password: MAVEN_CENTRAL_TOKEN # env variable for token in deploy
40+
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
41+
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
42+
4143
- name: Cache local Maven repository
4244
uses: actions/cache@v3
4345
with:
4446
path: ~/.m2/repository
4547
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
4648
restore-keys: |
4749
${{ runner.os }}-maven
48-
50+
4951
- name: Build with Maven and Deploy SNAPSHOT
50-
run: mvn -B clean deploy -P release -s settings.xml --file pom.xml
52+
run: mvn -B clean deploy -P release
5153
env:
52-
SERVER_ID: ossrh
5354
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
5455
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
55-
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
56+
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

CHANGELOG.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,19 @@ and this project adheres to https://semver.org/spec/v2.0.0.html[Semantic Version
1515

1616
=== Changes
1717
- Updated README documentation;
18+
- Moved project from ArrudaLabs to SouJava
19+
20+
21+
== [0.0.3-SNAPSHOT]
22+
23+
=== Added
24+
- Added CHANGELOG documentation;
25+
- Added CONTRIBUTING guide;
26+
- Added issues templates;
27+
28+
=== Changes
29+
- Updated README documentation;
30+
- Moved project from ArrudaLabs to SouJava
1831

1932
== [0.0.2] 2023-03-23T23:46:43Z
2033

0 commit comments

Comments
 (0)