VulpesOS/gaia/distros/spark/apps/customizer/components/js-beautify/release-all.sh
OverSu b38dea0597 Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
2026-09-30 23:13:03 +02:00

32 lines
613 B
Shell
Executable file

#!/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