Skip to content

Commit 5f5eb16

Browse files
committed
docs: Add redirect for old upgrade guide
1 parent f0f4437 commit 5f5eb16

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/public/_redirects

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
/guide/build-targets.html /guide/multiple-browsers.html
3333
/guide/installation.html /get-started/installation.html
3434
/guide/introduction.html /get-started/introduction.html
35+
/guide/upgrade-guide/wxt /guide/resources/upgrading.html
36+
/guide/upgrade-guide/wxt.html /guide/resources/upgrading.html
3537

3638
# 0.19.0
3739
/guide/go-further/entrypoint-side-effects.html /guide/go-further/entrypoint-loaders.html

scripts/bump-package-version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ let versionChangelogBody = versionChangelog
5858
if (originalBumpType === 'major') {
5959
versionChangelogBody = versionChangelogBody.replace(
6060
'[compare changes]',
61-
`[⚠️ breaking changes](https://wxt.dev/guide/upgrade-guide/wxt) • [compare changes]`,
61+
`[⚠️ breaking changes](https://wxt.dev/guide/resources/upgrading.html) • [compare changes]`,
6262
);
6363
}
6464
const { releases: prevReleases } = await fs

0 commit comments

Comments
 (0)