mirror of
https://github.com/beautifier/js-beautify.git
synced 2025-02-20 13:12:40 +00:00
Update release scripts
This commit is contained in:
parent
a135077fcd
commit
642283b28a
@ -31,6 +31,7 @@ release_python()
|
||||
release_node()
|
||||
{
|
||||
git clean -xfd || exit 1
|
||||
./build.sh js || exit 1
|
||||
npm version $NEW_VERSION
|
||||
npm publish .
|
||||
git push
|
||||
@ -46,7 +47,7 @@ release_web()
|
||||
git checkout -B gh-pages origin/gh-pages || exit 1
|
||||
git merge origin/master || exit 1
|
||||
./build.sh js || exit 1
|
||||
git add --all . || exit 1
|
||||
git add -f js/lib/ || exit 1
|
||||
git commit -m "Built files for $NEW_VERSION"
|
||||
git push || exit 1
|
||||
git checkout $ORIGINAL_BRANCH
|
||||
|
Loading…
x
Reference in New Issue
Block a user