Skip to content

Commit 417aac8

Browse files
pditommasoclaude
andcommitted
Rename releasePlugin task to publishPlugin
Rename the releasePlugin task to publishPlugin for consistency with other plugin-specific publishing tasks like publishPluginToRegistry and publishPluginToGithub. This also avoids potential conflicts with the generic 'publish' task from the maven-publish plugin. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 639661e commit 417aac8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/groovy/io/nextflow/gradle/NextflowPlugin.groovy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,15 +161,15 @@ class NextflowPlugin implements Plugin<Project> {
161161
}
162162
}
163163

164-
// finally, configure the destination-agnostic 'release' task
164+
// finally, configure the destination-agnostic 'publish' task
165165
if (!publishTasks.isEmpty()) {
166-
// releasePlugin - all the release/publishing actions
167-
project.tasks.register('releasePlugin', {
166+
// publishPlugin - all the release/publishing actions
167+
project.tasks.register('publishPlugin', {
168168
group = 'Nextflow Plugin'
169169
description = 'publish plugin to configured destinations'
170170
})
171171
for (task in publishTasks) {
172-
project.tasks.releasePlugin.dependsOn << task
172+
project.tasks.publishPlugin.dependsOn << task
173173
}
174174
}
175175
}

0 commit comments

Comments
 (0)