-
Notifications
You must be signed in to change notification settings - Fork 118
Expand file tree
/
Copy pathjreleaser.yml
More file actions
126 lines (117 loc) · 2.97 KB
/
jreleaser.yml
File metadata and controls
126 lines (117 loc) · 2.97 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# Generated with JReleaser 1.17.0 at 2025-04-28T13:27:24.943485+01:00
project:
name: neo4j-spark-connector
description: Neo4j Connector for Spark
authors:
- Connectors Team
license: Apache-2.0
copyright: Neo4j, Inc.
links:
homepage: https://github.com/neo4j/neo4j-spark-connector
languages:
java:
groupId: org.neo4j
release:
github:
owner: neo4j
name: neo4j-spark-connector
tagName: "{{projectVersion}}"
update:
enabled: true
sections:
- TITLE
- BODY
- ASSETS
artifacts: false
files: true
checksums: true
changelog:
formatted: ALWAYS
preset: conventional-commits
skipMergeCommits: true
format: "- {{commitShortHash}} {{conventionalCommitDescription}}"
links: true
labelers:
- title: ci
label: ci
excludeLabels:
- ci
hide:
contributors:
- '[bot]'
- GitHub
checksum:
name: 'neo4j-connector-apache-spark-{{projectVersion}}_checksums.txt'
algorithms:
- SHA_256
files: true
artifacts: true
individual: true
files:
globs:
- pattern: artifacts/*.jar
- pattern: artifacts/*.zip
extraProperties:
skipRelease: "true"
assemble:
archive:
zip:
active: ALWAYS
exported: true
stereotype: NONE
archiveName: neo4j-connector-apache-spark-{{projectVersion}}
distributionType: BINARY
attachPlatform: false
formats:
- ZIP
fileSets:
- input: '{{basedir}}/artifacts'
output: .
includes:
- '{{projectName}}-{{projectVersion}}*.jar'
templateDirectory: spark-3/src/jreleaser/assemblers/zip
hooks:
script:
before:
- filter:
includes: [ "assemble" ]
shell: BASH
run: |
rm -rf artifacts
- filter:
includes: [ "assemble" ]
matrix:
vars:
scala: [ "2.12", "2.13" ]
continueOnError: false
verbose: true
shell: BASH
run: |
mkdir artifacts || true
./maven-release.sh deploy {{matrix.scala}} default::file://{{basedir}}/target/{{matrix.scala}}/maven-artifacts
cp -r {{basedir}}/target/{{matrix.scala}}/maven-artifacts artifacts/
cp -r {{basedir}}/spark-3/target/{{projectName}}*.zip artifacts/
cp -r {{basedir}}/spark-3/target/{{projectName}}*.jar artifacts/
signing:
active: ALWAYS
mode: COMMAND
command:
homeDir: '~/.gnupg'
deploy:
maven:
active: ALWAYS
mavenCentral:
artifacts:
active: ALWAYS
url: https://central.sonatype.com/api/v1/publisher
applyMavenCentralRules: true
namespace: org.neo4j
verifyPom: false
stagingRepositories:
- ./artifacts/maven-artifacts
announce:
slack:
channels:
- '#release'
- '#team-spark'
message: ':tada: @release-pm {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}'