BreadMoirai / github-release-gradle-plugin

A Gradle Plugin to send Releases to Github
Apache License 2.0
108 stars 26 forks source link

Add a dry run option #33

Closed stewartbryson closed 4 years ago

stewartbryson commented 4 years ago

In order to test things like the file pattern, we have to actually trigger a GitHub release and see which files were attached.

A dry run option would be great. It cloud printo our the files that would be attached, and anything else that might be helpful.

BreadMoirai commented 4 years ago

Is the current dry run option insufficient for your purposes?

stewartbryson commented 4 years ago

Sorry... I missed that there was one. Let me check.

stewartbryson commented 4 years ago

I was expecting a -P option and completely missed the DSL for this. Sorry about that. FYI... I wrote a plugin that automatically searches for -P options that match DSL options in a plugin. Not sure if you would find it helpful. And also... unfortunately, I haven't documented it yet.

Here's the plugin: https://github.com/RedPillAnalytics/gradle-properties

And here's another plugin where it is applied and used: https://github.com/RedPillAnalytics/gradle-confluent/blob/master/src/main/groovy/com/redpillanalytics/gradle/ConfluentPlugin.groovy