@astrojs/upgrade 0.1.1 → 0.1.2

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.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -703,7 +703,7 @@ async function resolveTargetVersion(packageInfo, registry) {
703
703
  throw new Error(`Unable to resolve "${packageInfo.name}"`);
704
704
  }
705
705
  const { repository } = await latestMetadata.json();
706
- const branch = bump === "premajor" ? "next" : "main";
706
+ const branch = "main";
707
707
  packageInfo.changelogURL = extractChangelogURLFromRepository(repository, version, branch);
708
708
  packageInfo.changelogTitle = "CHANGELOG";
709
709
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrojs/upgrade",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "author": "withastro",
6
6
  "license": "MIT",