Skip to content

Commit cccd3b0

Browse files
authored
Merge pull request #644 from windauer/master
added Github Release Plugin and documentation
2 parents 71bb90b + 84f5fcd commit cccd3b0

File tree

2 files changed

+38
-2
lines changed

2 files changed

+38
-2
lines changed

RELEASE.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,18 @@ Core-contributors should follow these steps when publishing a new release of the
77
gpg --list-keys
88
```
99

10-
- maven also requires a nexus account. You can create one at [oss.sonatype.org](https://oss.sonatype.org/#welcome) and include your credentials in your maven's `settings.xml` (replacing username and password):
10+
- maven also requires
11+
- a nexus account. You can create one at [oss.sonatype.org](https://oss.sonatype.org/#welcome) and include your credentials in your maven's `settings.xml` (replacing username and password)
12+
- a github account with the according permission to do a github release and include your credentials in your maven's `settings.xml` (replacing username and password)
1113

1214
```xml
1315
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
1416
<servers>
17+
<server>
18+
<id>github</id>
19+
<username>USERNAME</username>
20+
<password>PASSWORD</password>
21+
</server>
1522
<server>
1623
<id>sonatype-nexus-snapshots</id>
1724
<username>USERNAME</username>

pom.xml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<project.build.source>1.8</project.build.source>
4949
<project.build.target>1.8</project.build.target>
5050

51-
<exist.version>5.3.0-SNAPSHOT</exist.version>
51+
<exist.version>5.3.0</exist.version>
5252
<templating.version>1.0.2</templating.version>
5353
<node.version>v14.17.0</node.version>
5454
<npm.version>6.14.13</npm.version>
@@ -167,6 +167,35 @@
167167
<npmVersion>${npm.version}</npmVersion>
168168
</configuration>
169169
</plugin>
170+
<plugin>
171+
<groupId>de.jutzig</groupId>
172+
<artifactId>github-release-plugin</artifactId>
173+
<version>1.1.1</version>
174+
<executions>
175+
<execution>
176+
<id>github-upload</id>
177+
<phase>deploy</phase>
178+
<goals>
179+
<goal>release</goal>
180+
</goals>
181+
<inherited>false</inherited>
182+
183+
<configuration>
184+
<description>eXist-db documentation app for eXist-db 5.3.0</description>
185+
<releaseName>v5.3.0</releaseName>
186+
<tag>${project.version}</tag>
187+
<fileSets>
188+
<fileSet>
189+
<directory>${project.build.directory}</directory>
190+
<includes>
191+
<include>${project.artifactId}*.xar</include>
192+
</includes>
193+
</fileSet>
194+
</fileSets>
195+
</configuration>
196+
</execution>
197+
</executions>
198+
</plugin>
170199
<plugin>
171200
<groupId>org.codehaus.mojo</groupId>
172201
<artifactId>xml-maven-plugin</artifactId>

0 commit comments

Comments
 (0)