Skip to content

Allow specifying the task to be run #654

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mridang opened this issue Feb 12, 2025 · 0 comments
Open

Allow specifying the task to be run #654

mridang opened this issue Feb 12, 2025 · 0 comments

Comments

@mridang
Copy link

mridang commented Feb 12, 2025

The current approach introspects the Gradle tasks to understand what should be run. This is a bit verbose. It would be simpler if we could just specify the name of the task e.g.

{
  "branches": [
    "master"
  ],
  "plugins": [
    "@semantic-release/commit-analyzer",
    "@semantic-release/release-notes-generator",
    [
      "@semantic-release/exec",
      {
        "prepareCmd": "./gradlew build",
        "publishCmd": "./gradlew publish"
      }
    ],
    [
      "gradle-semantic-release-plugin",
      {
        "releaseCmd": "./gradlew publishPlugins"
      }
    ],
    [
      "@semantic-release/github",
      {
        "assets": [
          
        ]
      }
    ],
    [
      "@semantic-release/git",
      {
        "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
        "assets": [
            "gradle.properties"
          ]
      }
    ]
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant