github-release-plugin
github-release-plugin copied to clipboard
Allow read description from file
It would be really nice if the description could be loaded also from disk in order to be able to combine github-release-plugin
with git-changelog-maven-plugin
.
I've been able to workaround with:
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>gmaven-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<properties>
<input_file>${session.executionRootDirectory}/CHANGELOG.md</input_file>
</properties>
<source>
def file = new File(project.properties.input_file)
project.properties.release_description = file.getText()
</source>
</configuration>
</execution>
</executions>
</plugin>
But it can't be called elegant.
I second that, being able to use directly the project changelog file for the description should the must.
-F "CHANGELOG.md"