27 lines
645 B
Bash
Executable File
27 lines
645 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# https://github.com/cirosantilli/china-dictatorship#mirrors
|
|
|
|
set -eux
|
|
|
|
make
|
|
|
|
# NPM package.
|
|
# Updates package.json version, which other systems read if possible.
|
|
./push-mirrors-bump-package-json-version
|
|
git add package.json
|
|
git commit -m 'bump package.json'
|
|
git push
|
|
npm publish
|
|
|
|
## Python package.
|
|
## Initial one time setup.
|
|
##python -m pip install --user setuptools wheel twine
|
|
#python setup.py sdist bdist_wheel
|
|
## Asks for password every time.
|
|
#twine upload dist/*
|
|
#rm -rf build dist *.egg-info
|
|
|
|
git push git@gitlab.com:cirosantilli/china-dictatorship.git
|
|
git push git@bitbucket.org:cirosantilli/china-dictatorship.git
|