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

Error: Cannot read properties of undefined (reading 'replace') #2414

Open
drstrangelooker opened this issue Oct 28, 2024 · 0 comments
Open
Assignees
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@drstrangelooker
Copy link

Environment details

  • OS: glinux (Debian)
  • Node.js version: v18.19.1
  • npm version: 7.24.1
  • release-please version: 16.14.3

Steps to reproduce

  1. npm exec release-please release-pr -- --repo-url=looker-open-source/sdk-codegen --debug --dry-run --token=${GITHUB_TOKEN}

Get

❯ ts-node was not bumped, ignoring
❯ typescript was not bumped, ignoring
❯ url-loader was not bumped, ignoring
❯ uuid was not bumped, ignoring
❯ webpack was not bumped, ignoring
❯ webpack-bundle-analyzer was not bumped, ignoring
❯ webpack-merge was not bumped, ignoring
✔ Post-processing 20 in-scope candidates
❯ running plugin: LinkedVersions
✔ found 7 linked-versions candidates
TypeError: Cannot read properties of undefined (reading 'replace')
    at safeBranchName ($HOME/release-please/node_modules/release-please/build/src/util/branch-name.js:214:23)
    at BranchName.ofGroupTargetBranch ($HOME/release-please/node_modules/release-please/build/src/util/branch-name.js:63:93)
    at LinkedVersions.run ($HOME/release-please/node_modules/release-please/build/src/plugins/linked-versions.js:128:58)
    at Manifest.buildPullRequests ($HOME/release-please/node_modules/release-please/build/src/manifest.js:405:51)
    at async Object.handler ($HOME/release-please/node_modules/release-please/build/src/bin/release-please.js:328:34)
@drstrangelooker drstrangelooker added priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants