Skip to content

Commit 774d8c3

Browse files
committed
#96: Using a changelog generator
1 parent 69c08ea commit 774d8c3

File tree

1 file changed

+8
-19
lines changed

1 file changed

+8
-19
lines changed

.github/workflows/release-to-maven-central.yml

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,11 @@ jobs:
3434
# MAVEN_PASSWORD: ${{ secrets.OSS_SONATYPE_PASSWORD }}
3535
# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
3636

37-
- name: Publish package
38-
run: mvn --batch-mode clean package --no-transfer-progress -DskipTests=true
37+
- name: Generate changelog
38+
id: changelog
39+
uses: metcalfc/changelog-generator@v0.4.4
40+
with:
41+
myToken: ${{ secrets.GITHUB_TOKEN }}
3942

4043
- name: Create GitHub Release
4144
id: create_release
@@ -56,23 +59,9 @@ jobs:
5659
<version>${{ github.event.inputs.releaseversion }}</version>
5760
</dependency>
5861
</dependencies>
59-
60-
<build>
61-
<plugins>
62-
<plugin>
63-
<groupId>de.codecentric</groupId>
64-
<artifactId>cxf-spring-boot-starter-maven-plugin</artifactId>
65-
<version>2.3.0.RELEASE</version>
66-
<executions>
67-
<execution>
68-
<goals>
69-
<goal>generate</goal>
70-
</goals>
71-
</execution>
72-
</executions>
73-
</plugin>
74-
</plugins>
75-
</build>
7662
```
63+
64+
### Things that changed in this release
65+
"${{ steps.changelog.outputs.changelog }}"
7766
draft: false
7867
prerelease: false

0 commit comments

Comments
 (0)