Skip to content

Commit 871660a

Browse files
committed
chore: update next tag on latest publish
1 parent 923fea7 commit 871660a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/release.sh

+6
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ git checkout lerna.json # lerna prettifies the JSON and isn't useful
3131
# Do related releases
3232
./scripts/deploy-gh-pages.sh
3333

34+
# Update the next tag
35+
NEXT_VERSION=$(yarn info @lhci/cli | grep 'latest:' -A 1 | tail -n 1 | grep -o "'.*'" | sed s/\'//g)
36+
npm dist-tag add "@lhci/utils@$NEXT_VERSION" next
37+
npm dist-tag add "@lhci/server@$NEXT_VERSION" next
38+
npm dist-tag add "@lhci/cli@$NEXT_VERSION" next
39+
3440
cd ./docs/recipes/docker-client
3541
./update-dockerhub.sh
3642
cd ../../../

0 commit comments

Comments
 (0)