Skip to content

Commit 2041ed2

Browse files
chore: fix release process (#212)
Signed-off-by: Carlos Feria <2582866+carlosthe19916@users.noreply.github.com>
1 parent f005616 commit 2041ed2

File tree

4 files changed

+15
-16
lines changed

4 files changed

+15
-16
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [ master ]
16+
branches: [ main ]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [ master ]
19+
branches: [ main ]
2020
schedule:
2121
- cron: '27 9 * * 4'
2222

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
branch:
1313
description: "The branch to use when releasing"
1414
required: true
15-
default: "master"
15+
default: "main"
1616
type: string
1717

1818
jobs:
@@ -54,8 +54,8 @@ jobs:
5454
JRELEASER_GPG_SECRET_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
5555
JRELEASER_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
5656
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.GPG_PUBLIC_KEY }}
57-
JRELEASER_NEXUS2_MAVEN_CENTRAL_USERNAME: ${{ secrets.NEXUS_USERNAME }}
58-
JRELEASER_NEXUS2_MAVEN_CENTRAL_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
57+
JRELEASER_MAVENCENTRAL_SONATYPE_USERNAME: ${{ secrets.NEXUS_USERNAME }}
58+
JRELEASER_MAVENCENTRAL_SONATYPE_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
5959

6060

6161
- name: Set next version

.github/workflows/sonar.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Sonar
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77

88
env:
99
CI: true

jreleaser.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ project:
55
authors:
66
- Carlos E. Feria Vila
77
license: Apache-2
8-
java:
9-
groupId: io.github.project-openubl
10-
version: '17'
8+
languages:
9+
java:
10+
groupId: io.github.project-openubl
11+
version: '17'
1112
inceptionYear: '2019'
1213
links:
1314
homepage: https://project-openubl.github.io/
@@ -55,19 +56,17 @@ release:
5556

5657
signing:
5758
active: ALWAYS
58-
armored: true
59+
pgp:
60+
armored: true
5961

6062
deploy:
6163
maven:
6264
pomchecker:
6365
failOnWarning: false
64-
nexus2:
65-
maven-central:
66+
mavenCentral:
67+
sonatype:
6668
active: ALWAYS
67-
url: https://oss.sonatype.org/service/local
68-
snapshotUrl: https://oss.sonatype.org/content/repositories/snapshots
69-
closeRepository: true
70-
releaseRepository: true
69+
url: https://central.sonatype.com/api/v1/publisher
7170
stagingRepositories:
7271
- target/staging-deploy
7372

0 commit comments

Comments
 (0)