Title: Using `--snapshot` breaks with "@changesets/assemble-release-plan": "5.2.0" · Issue #910 · changesets/changesets · GitHub
Open Graph Title: Using `--snapshot` breaks with "@changesets/assemble-release-plan": "5.2.0" · Issue #910 · changesets/changesets
X Title: Using `--snapshot` breaks with "@changesets/assemble-release-plan": "5.2.0" · Issue #910 · changesets/changesets
Description: Affected Packages "@changesets/assemble-release-plan": "5.2.0" Problem Recently, I was doing updates to our monorepo and while doing so "@changesets/assemble-release-plan" got updated from "5.1.3" to "5.2.0". When using changeset version...
Open Graph Description: Affected Packages "@changesets/assemble-release-plan": "5.2.0" Problem Recently, I was doing updates to our monorepo and while doing so "@changesets/assemble-release-plan" got updated from "5.1.3" ...
X Description: Affected Packages "@changesets/assemble-release-plan": "5.2.0" Problem Recently, I was doing updates to our monorepo and while doing so "@changesets/assemble-release-plan&q...
Opengraph URL: https://github.com/changesets/changesets/issues/910
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Using `--snapshot` breaks with \"@changesets/assemble-release-plan\": \"5.2.0\" ","articleBody":"## Affected Packages\r\n\r\n```\r\n\"@changesets/assemble-release-plan\": \"5.2.0\"\r\n```\r\n\r\n## Problem\r\n\r\nRecently, I was doing updates to our monorepo and while doing so \"@changesets/assemble-release-plan\" got updated from \"5.1.3\" to \"5.2.0\". When using `changeset version --snapshot` I get the following error.\r\n\r\n```\r\nerror TypeError: Cannot read properties of undefined (reading 'prereleaseTemplate')\r\n🦋 error at Object.assembleReleasePlan [as default] (/home/runner/work/***/***/node_modules/.pnpm/@changesets+assemble-release-plan@5.2.0/node_modules/@changesets/assemble-release-plan/dist/assemble-release-plan.cjs.dev.js:562:72)\r\n🦋 error at version (/home/runner/work/***/***/node_modules/.pnpm/@changesets+cli@2.18.0/node_modules/@changesets/cli/dist/cli.cjs.dev.js:566:60)\r\n🦋 error at async run$2 (/home/runner/work/***/***/node_modules/.pnpm/@changesets+cli@2.[18](https://github.com/tinacms/tinacms/runs/7772584139?check_suite_focus=true#step:11:19).0/node_modules/@changesets/cli/dist/cli.cjs.dev.js:1256:11)\r\n ELIFECYCLE Command failed with exit code 1.\r\n```\r\n\r\n\r\n\r\n## Proposed solution\r\n\r\n\r\nIn the package.json if I force the version back to \"5.1.3\" the error goes away.\r\n\r\nSince we are using pnpm this can be done by\r\n\r\n```\r\n\"pnpm\": {\r\n \"overrides\": {\r\n \"@changesets/assemble-release-plan\": \"5.1.3\"\r\n }\r\n }\r\n```\r\nin the root package.json\r\n\r\nI also asked a question about it [here](https://github.com/changesets/changesets/discussions/908) but after digging around I realized it was a bug. \r\n\r\n\r\n### More info\r\n- Action with the error: https://github.com/tinacms/tinacms/runs/7770620785?check_suite_focus=true\r\n- PR that error was (before I forced the version to \"5.1.3\") happening on: https://github.com/tinacms/tinacms/pull/3088\r\n- Action that is running: https://github.com/tinacms/tinacms/blob/main/.github/workflows/publish-pr.yml\r\n\r\n\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/logan-anderson","@type":"Person","name":"logan-anderson"},"datePublished":"2022-08-11T13:55:53Z","url":"https://github.com/changesets/changesets/issues/910"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7cd31cef-5280-7124-8218-ecddae2d8e21 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EDC8:1FAF:A69634:DBD2AD:6B03F714 |
| html-safe-nonce | 9982b5f47ce35647216e731308612cdf412984d6ef29b4cc96f6000078f6f585 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREM4OjFGQUY6QTY5NjM0OkRCRDJBRDo2QjAzRjcxNCIsInZpc2l0b3JfaWQiOiIzMzM0NjkyNTkxMjkwODA4MDg0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d155603f44b294bd8268e439aa1e277529efdbd828943a93abf7536baf388d89 |
| hovercard-subject-tag | issue:1335999180 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/changesets/changesets/910/issue_layout |
| twitter:image | https://opengraph.githubassets.com/34cac95764ba645d1134811788f12659819037a0fa43936aea35e6f31dc93e87/changesets/changesets/issues/910 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/34cac95764ba645d1134811788f12659819037a0fa43936aea35e6f31dc93e87/changesets/changesets/issues/910 |
| og:image:alt | Affected Packages "@changesets/assemble-release-plan": "5.2.0" Problem Recently, I was doing updates to our monorepo and while doing so "@changesets/assemble-release-plan" got updated from "5.1.3" ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | logan-anderson |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/changesets/changesets git https://github.com/changesets/changesets.git |
| octolytics-dimension-user_id | 51163350 |
| octolytics-dimension-user_login | changesets |
| octolytics-dimension-repository_id | 177033748 |
| octolytics-dimension-repository_nwo | changesets/changesets |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 177033748 |
| octolytics-dimension-repository_network_root_nwo | changesets/changesets |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width