You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you attempt to use create-release-branch after having used it already to release an monorepo with independent versions, you will get:
➤ ts-node ../../metamask/create-release-branch/src/cli.ts
Project appears to have workspaces. Following monorepo workflow.
Release spec already exists. Picking back up from previous run.
AssertionError [ERR_ASSERTION]: Most recent tag should start with v
at getMostRecentTag (/Users/<username>/code/metamask/create-release-branch/node_modules/@metamask/auto-changelog/src/update-changelog.ts:19:10)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async updateChangelog (/Users/<username>/code/metamask/create-release-branch/node_modules/@metamask/auto-changelog/src/update-changelog.ts:149:25)
at async updatePackageChangelog (/Users/<username>/code/metamask/create-release-branch/src/package.ts:268:31)
at async updatePackage (/Users/<username>/code/metamask/create-release-branch/src/package.ts:318:5)
at async /Users/<username>/code/metamask/create-release-branch/src/release-plan.ts:128:7
at async Promise.all (index 1)
at async executeReleasePlan (/Users/<username>/code/metamask/create-release-branch/src/release-plan.ts:123:3)
at async followMonorepoWorkflow (/Users/<username>/code/metamask/create-release-branch/src/monorepo-workflow-operations.ts:117:3)
at async main (/Users/<username>/code/metamask/create-release-branch/src/main.ts:35:5) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: '@',
expected: 'v',
operator: 'strictEqual'
}
mcmire
changed the title
Bug when creating a non-first release for a monorepo with independent versions
Bug when creating a branch for a non-initial release for a monorepo with independent versions
Oct 14, 2022
If you attempt to use
create-release-branch
after having used it already to release an monorepo with independent versions, you will get:See: MetaMask/auto-changelog#116
The text was updated successfully, but these errors were encountered: