Skip to content
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

How to add optional file paths to monitor under the packages field in release-please-config.json #2339

Open
stecullum opened this issue Jul 21, 2024 · 0 comments
Assignees
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: question Request for information or clarification. Not an issue.

Comments

@stecullum
Copy link

How do i add additional paths to trigger a release in a monorepo.
I have inherited a repo and the structure is not like any of the examples and its not feasible to restructure it just for release-please

For example updating a file under /src/app works as expected . A release is generated

"packages": { "/src/app1": { /* files that are modified under this path trigger a release */} }

However I need to find a way to add optional file paths to monitor?

eg...

{
  "include-component-in-tag": true,
  "include-v-in-tag": false,
  "tag-separator": "@",
  "separate-pull-requests": true,
  "packages": {
    "/src/app1": {
      "release-type": "simple",
      "package-name": "app1",     << seems to have no effect 
      "include-paths": [  <<<<<<<<<<< made up key
          "/src/app1",
          ".docker/app1-dockerfile"
      ]
    }
  },
  "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}
@stecullum stecullum added priority: p3 Desirable enhancement or fix. May not be included in next release. type: question Request for information or clarification. Not an issue. labels Jul 21, 2024
@stecullum stecullum changed the title However I need to find a way to add optional file paths to monitor under the packages json How to add optional file paths to monitor under the packages json Jul 21, 2024
@stecullum stecullum changed the title How to add optional file paths to monitor under the packages json How to add optional file paths to monitor under the packages field in release-please-config.json Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

2 participants