diff options
author | Chocobozzz <me@florianbigard.com> | 2022-02-10 10:41:15 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-02-10 10:41:15 +0100 |
commit | d8aa370f3d64cb11ea4655ab4fc79c8295dddfa1 (patch) | |
tree | 9594fd43a0601d4b967a5744453749e3bb018556 /scripts | |
parent | adc61ac6a3e53edddb3dd605ccaf372afd1c0b38 (diff) | |
download | PeerTube-d8aa370f3d64cb11ea4655ab4fc79c8295dddfa1.tar.gz PeerTube-d8aa370f3d64cb11ea4655ab4fc79c8295dddfa1.tar.zst PeerTube-d8aa370f3d64cb11ea4655ab4fc79c8295dddfa1.zip |
Only generate types for stable releases
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/release.sh | 10 |
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 | ||
123 | npm run generate-types-package | ||
124 | cd types/dist | ||
125 | npm publish --access public | ||