Skip to content

Commit

Permalink
Restoring the latest version in NPM, since now the latest version is …
Browse files Browse the repository at this point in the history
…7.0.x.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
  • Loading branch information
sbordet committed Dec 21, 2020
1 parent 8da6487 commit 4e9dbc9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cometd-distribution/src/main/scripts/release.sh
Expand Up @@ -71,8 +71,10 @@ git commit -m "Release ${VERSION}."
git tag -am "Release ${VERSION}." ${VERSION}
git push --follow-tags

LATEST="$(npm view cometd@latest version)"
if yes_no "Publish to NPM ? (Y/n)" y; then
npm publish
npm dist-tag add cometd@${LATEST} latest
fi

echo "Updating cometd-dojo repository"
Expand Down

0 comments on commit 4e9dbc9

Please sign in to comment.