chore: use backup file extension

This commit is contained in:
Daniel Roe 2024-06-16 23:14:09 +01:00
parent 0850a2f277
commit a42a3869be
No known key found for this signature in database
GPG Key ID: CBC814C393D93268
3 changed files with 9 additions and 3 deletions

View File

@ -19,7 +19,7 @@ if [[ ! -z ${NODE_AUTH_TOKEN} ]] ; then
fi fi
# use absolute urls for better rendering on npm # use absolute urls for better rendering on npm
sed -i '' 's/\.\/\.github\/assets/https:\/\/github.com\/nuxt\/nuxt\/tree\/main\/\.github\/assets/g' README.md sed -i.bak 's/\.\/\.github\/assets/https:\/\/github.com\/nuxt\/nuxt\/tree\/main\/\.github\/assets/g' README.md
# Release packages # Release packages
for p in packages/* ; do for p in packages/* ; do
@ -39,3 +39,5 @@ for p in packages/* ; do
pnpm publish --access public --no-git-checks --tag $TAG pnpm publish --access public --no-git-checks --tag $TAG
popd popd
done done
mv README.md.bak README.md

View File

@ -9,7 +9,7 @@ git restore -s@ -SW -- packages examples
pnpm build pnpm build
# use absolute urls for better rendering on npm # use absolute urls for better rendering on npm
sed -i '' 's/\.\/\.github\/assets/https:\/\/github.com\/nuxt\/nuxt\/tree\/main\/\.github\/assets/g' README.md sed -i.bak 's/\.\/\.github\/assets/https:\/\/github.com\/nuxt\/nuxt\/tree\/main\/\.github\/assets/g' README.md
# Release packages # Release packages
for PKG in packages/* ; do for PKG in packages/* ; do
@ -33,3 +33,5 @@ for PKG in packages/* ; do
pnpm publish --access public --no-git-checks --tag $TAG pnpm publish --access public --no-git-checks --tag $TAG
popd > /dev/null popd > /dev/null
done done
mv README.md.bak README.md

View File

@ -9,7 +9,7 @@ git restore -s@ -SW -- packages examples
pnpm build pnpm build
# use absolute urls for better rendering on npm # use absolute urls for better rendering on npm
sed -i '' 's/\.\/\.github\/assets/https:\/\/github.com\/nuxt\/nuxt\/tree\/main\/\.github\/assets/g' README.md sed -i.bak 's/\.\/\.github\/assets/https:\/\/github.com\/nuxt\/nuxt\/tree\/main\/\.github\/assets/g' README.md
# Release packages # Release packages
for PKG in packages/* ; do for PKG in packages/* ; do
@ -30,3 +30,5 @@ for PKG in packages/* ; do
pnpm publish --access public --no-git-checks --tag $TAG pnpm publish --access public --no-git-checks --tag $TAG
popd > /dev/null popd > /dev/null
done done
mv README.md.bak README.md