Skip to content
Snippets Groups Projects

feat: always populate MANIFEST with project.name and .version

2 files
+ 6
1
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 6
1
@@ -61,7 +61,12 @@ cpublish {
If a commit lands on master, and `cpublish.skip` is false, you can have confidence that the gradle `project.version` includes a new value. Running `gradle uploadArchives` to publish a new release will work.
TODO: currently depend on Jenkins to tag the release, provide a task to do this from Gradle
After the `uploadArchives` task completes, you can have Jenkins tag the release and push the tag to the repository.
1. In your Jenkins build job, in the **Build** section, add a `Execute system Groovy script` step, and have it run a copy of the provided [artifact-version.groovy](artifact-version.groovy).
2. In the same job, in the **Post-build actions** section, add a `Git Publisher` step, and configure it:
![Git Publisher configuration screenshot](git-publisher-config.png)
## Developing the plugin
Loading