aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-02-10 10:41:15 +0100
committerChocobozzz <me@florianbigard.com>2022-02-10 10:41:15 +0100
commitd8aa370f3d64cb11ea4655ab4fc79c8295dddfa1 (patch)
tree9594fd43a0601d4b967a5744453749e3bb018556 /scripts
parentadc61ac6a3e53edddb3dd605ccaf372afd1c0b38 (diff)
downloadPeerTube-d8aa370f3d64cb11ea4655ab4fc79c8295dddfa1.tar.gz
PeerTube-d8aa370f3d64cb11ea4655ab4fc79c8295dddfa1.tar.zst
PeerTube-d8aa370f3d64cb11ea4655ab4fc79c8295dddfa1.zip
Only generate types for stable releases
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/release.sh10
1 files 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"
116 git merge "$branch" 116 git merge "$branch"
117 git push origin master 117 git push origin master
118 git checkout "$branch" 118 git checkout "$branch"
119
120 # Release types package
121 npm run generate-types-package "$version"
122 cd types/dist
123 npm publish --access public
119 fi 124 fi
120) 125)
121
122# Release types package
123npm run generate-types-package
124cd types/dist
125npm publish --access public