forked from Pi4J/pi4j-drivers
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjreleaser.yml
More file actions
76 lines (72 loc) · 3.06 KB
/
Copy pathjreleaser.yml
File metadata and controls
76 lines (72 loc) · 3.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
---
# JReleaser configuration for pi4j-drivers
# See https://jreleaser.org/guide/latest/index.html
#
# Environment variables required (set as GitHub Actions secrets):
# JRELEASER_GITHUB_TOKEN – GitHub token (GITHUB_TOKEN is fine)
# JRELEASER_GPG_PASSPHRASE – GPG key passphrase
# JRELEASER_GPG_SECRET_KEY – ASCII-armored GPG secret key
# JRELEASER_GPG_PUBLIC_KEY – ASCII-armored GPG public key
# JRELEASER_MAVENCENTRAL_USERNAME – User Token username from central.sonatype.com/account
# JRELEASER_MAVENCENTRAL_TOKEN – User Token password from central.sonatype.com/account
project:
name: pi4j-drivers
description: Pi4J drivers for various electronic components
longDescription: |
A collection of hardware drivers for various electronic components
built on top of the Pi4J library for Raspberry Pi.
authors:
- Pi4J Contributors
license: APACHE-2.0
links:
homepage: https://github.com/Pi4J/pi4j-drivers
documentation: https://pi4j.com
java:
groupId: com.pi4j
artifactId: pi4j-drivers
# version is read automatically from Maven's ${project.version}
multiProject: false
# ── Signing ──────────────────────────────────────────────────────────────────
# JReleaser signs every artifact with the GPG key provided via env vars.
signing:
active: ALWAYS
armored: true
# JRELEASER_GPG_PASSPHRASE, JRELEASER_GPG_SECRET_KEY, JRELEASER_GPG_PUBLIC_KEY
# ── Release (GitHub) ─────────────────────────────────────────────────────────
release:
github:
# Repo details are inferred from git remote; override if needed:
# owner: Pi4J
# name: pi4j-drivers
tagName: "v{{projectVersion}}"
releaseName: "v{{projectVersion}}"
overwrite: false # fail if the tag already exists (prevents accidental re-release)
draft: false
prerelease:
enabled: false
changelog:
formatted: ALWAYS
preset: conventional-commits
contributors:
format: "- {{contributorName}}{{#contributorUsernameAsLink}} ({{.}}){{/contributorUsernameAsLink}}"
hide:
uncategorized: true
milestone:
close: false
# JRELEASER_GITHUB_TOKEN
# ── Deploy to Maven Central Portal (modern API) ───────────────────────────────
deploy:
maven:
mavenCentral:
sonatype:
active: ALWAYS
url: https://central.sonatype.com/api/v1/publisher
# Local staging directory populated by:
# ./mvnw -Prelease -DskipTests
# -DaltDeploymentRepository=local::default::file:./target/staging-deploy
# deploy
stagingRepositories:
- target/staging-deploy
retryDelay: 20
maxRetries: 60
# JRELEASER_MAVENCENTRAL_USERNAME / JRELEASER_MAVENCENTRAL_TOKEN