From d8aa370f3d64cb11ea4655ab4fc79c8295dddfa1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 10 Feb 2022 10:41:15 +0100 Subject: Only generate types for stable releases --- scripts/release.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/release.sh b/scripts/release.sh index 313087a29..ffb7eb6fb 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -116,10 +116,10 @@ rm -f "./client/dist/embed-stats.json" git merge "$branch" git push origin master git checkout "$branch" + + # Release types package + npm run generate-types-package "$version" + cd types/dist + npm publish --access public fi ) - -# Release types package -npm run generate-types-package -cd types/dist -npm publish --access public -- cgit v1.2.3