--
This commit is contained in:
parent
24f3d27984
commit
6b60015c02
9588 changed files with 1149251 additions and 49 deletions
32
node_modules/js-beautify/release-all.sh
generated
vendored
Executable file
32
node_modules/js-beautify/release-all.sh
generated
vendored
Executable file
|
|
@ -0,0 +1,32 @@
|
|||
#!/bin/bash
|
||||
|
||||
NEW_VERSION=$1
|
||||
|
||||
git checkout master
|
||||
|
||||
./generate-changelog.sh beautify-web/js-beautify || exit 1
|
||||
git commit -am "Update Changelog for $NEW_VERSION"
|
||||
|
||||
# python
|
||||
git clean -xfd || exit 1
|
||||
echo "__version__ = '$NEW_VERSION'" > python/jsbeautifier/__version__.py
|
||||
git commit -am "Python $NEW_VERSION"
|
||||
cd python
|
||||
python setup.py register
|
||||
python setup.py sdist bdist_wininst upload
|
||||
cd ..
|
||||
git push
|
||||
|
||||
# node
|
||||
git clean -xfd
|
||||
npm version $NEW_VERSION
|
||||
npm publish .
|
||||
git push
|
||||
git push --tags
|
||||
|
||||
# web
|
||||
git clean -xfd
|
||||
git checkout gh-pages && git fetch && git merge origin/master && git push || exit 1
|
||||
|
||||
git checkout master
|
||||
|
||||
Loading…
Reference in a new issue