@ucdjs/release-scripts 0.1.0-beta.39 → 0.1.0-beta.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -478,7 +478,7 @@ async function checkoutBranch(branch, workspaceRoot) {
478
478
  cwd: workspaceRoot,
479
479
  stdio: "pipe"
480
480
  } })).stderr.trim();
481
- const match = output.match(/Switched to branch '(.+)'/);
481
+ const match = output.match(/Switched to (?:a new )?branch '(.+)'/);
482
482
  if (match && match[1] === branch) {
483
483
  logger.info(`Successfully switched to branch: ${farver.green(branch)}`);
484
484
  return ok(true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ucdjs/release-scripts",
3
- "version": "0.1.0-beta.39",
3
+ "version": "0.1.0-beta.40",
4
4
  "description": "@ucdjs release scripts",
5
5
  "type": "module",
6
6
  "license": "MIT",