Skip to content

Commit fc3bdf3

Browse files
committed
chore: #196 Allow to bypass Maven central deploy
Signed-off-by: Laurent Broudoux <[email protected]>
1 parent 6355133 commit fc3bdf3

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ on:
1111
nextVersion:
1212
description: 'Next version after release (-SNAPSHOT will be added automatically)'
1313
required: true
14+
deployActive:
15+
description: 'Deploy Active value for JReleaser'
16+
required: false
17+
default: 'ALWAYS'
18+
type: string
1419
jobs:
1520
release:
1621
name: Release
@@ -58,6 +63,7 @@ jobs:
5863
JRELEASER_GPG_SECRET_KEY: ${{ secrets.JRELEASER_GPG_SECRET_KEY }}
5964
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.JRELEASER_GPG_PUBLIC_KEY }}
6065
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66+
JRELEASER_DEPLOY_ACTIVE: ${{ github.event.inputs.deployActive }}
6167
run: mvn -N -Prelease jreleaser:assemble jreleaser:full-release
6268

6369
# Persist logs

jreleaser.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ project:
33
description: Microcks Testcontainers Java library
44
longDescription: Microcks Testcontainers Java library
55
copyright: The Microcks Authors
6-
java:
7-
version: 8
6+
languages:
7+
java:
8+
version: '8'
89

910
signing:
1011
active: ALWAYS
@@ -42,6 +43,7 @@ deploy:
4243
applyMavenCentralRules: true
4344
stagingRepositories:
4445
- target/staging-deploy
46+
verifyUrl: 'https://repo1.maven.org/maven2/{{path}}/{{filename}}'
4547
pomchecker:
4648
failOnWarning: false
4749
failOnError: false

0 commit comments

Comments
 (0)