Skip to content

Commit 7dd1518

Browse files
committed
chore: use relative links and update in build script
1 parent 5ef305c commit 7dd1518

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Nuxt banner](https://github.com/nuxt/nuxt/tree/main/.github/assets/banner.svg)](https://nuxt.com)
1+
[![Nuxt banner](./.github/assets/banner.svg)](https://nuxt.com)
22

33
# Nuxt
44

@@ -115,7 +115,7 @@ If you expect to be using Nuxt 2 beyond the EOL (End of Life) date (June 30, 202
115115
## <a name="follow-us">🔗 Follow us</a>
116116

117117
<p valign="center">
118-
<a href="https://chat.nuxt.dev"><img width="20px" src="https://github.com/nuxt/nuxt/tree/main/.github/assets/discord.svg" alt="Discord"></a>&nbsp;&nbsp;<a href="https://twitter.nuxt.dev"><img width="20px" src="https://github.com/nuxt/nuxt/tree/main/.github/assets/twitter.svg" alt="Twitter"></a>&nbsp;&nbsp;<a href="https://github.nuxt.dev"><img width="20px" src="https://github.com/nuxt/nuxt/tree/main/.github/assets/github.svg" alt="GitHub"></a>
118+
<a href="https://chat.nuxt.dev"><img width="20px" src="./.github/assets/discord.svg" alt="Discord"></a>&nbsp;&nbsp;<a href="https://twitter.nuxt.dev"><img width="20px" src="./.github/assets/twitter.svg" alt="Twitter"></a>&nbsp;&nbsp;<a href="https://github.nuxt.dev"><img width="20px" src="./.github/assets/github.svg" alt="GitHub"></a>
119119
</p>
120120

121121
## <a name="license">⚖️ License</a>

scripts/release-edge.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ if [[ ! -z ${NODE_AUTH_TOKEN} ]] ; then
1818
npm whoami
1919
fi
2020

21+
# use absolute urls for better rendering on npm
22+
sed -i '' 's/\.\/\.github\/assets/https:\/\/github.com\/nuxt\/nuxt\/tree\/main\/\.github\/assets/g' README.md
23+
2124
# Release packages
2225
for p in packages/* ; do
2326
if [[ $p == "packages/nuxi" ]] ; then

scripts/release-rc.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ git restore -s@ -SW -- packages examples
88
# Build all once to ensure things are nice
99
pnpm build
1010

11+
# use absolute urls for better rendering on npm
12+
sed -i '' 's/\.\/\.github\/assets/https:\/\/github.com\/nuxt\/nuxt\/tree\/main\/\.github\/assets/g' README.md
13+
1114
# Release packages
1215
for PKG in packages/* ; do
1316
if [[ $PKG == "packages/nuxi" ]] ; then

scripts/release.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ git restore -s@ -SW -- packages examples
88
# Build all once to ensure things are nice
99
pnpm build
1010

11+
# use absolute urls for better rendering on npm
12+
sed -i '' 's/\.\/\.github\/assets/https:\/\/github.com\/nuxt\/nuxt\/tree\/main\/\.github\/assets/g' README.md
13+
1114
# Release packages
1215
for PKG in packages/* ; do
1316
if [[ $PKG == "packages/nuxi" ]] ; then

0 commit comments

Comments
 (0)