forked from mpenning/ciscoconfparse
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD.ME
More file actions
21 lines (21 loc) · 728 Bytes
/
BUILD.ME
File metadata and controls
21 lines (21 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
### Version updates:
# - Update ciscoconfparse.version_tuple
# - Update .travis.yml
# - Update copyright year in README.rst
# - Update copyright year in sphinx-doc/license_copyright.rst
# - CHANGES
# Commit all changes
hg commit ...
python setup.py sdist; python setup.py register; python setup.py sdist upload
## Clean up repo after build
rm -rf ciscoconfparse/*pyc; rm -rf dist/ ciscoconfparse.egg-info/ setuptools*
rm -rf ciscoconfparse/ciscoconfparse.egg-info/
# Push docs
python deploy_docs.py
# Push to bitbucket
cp .hgrc .hg/
hg bookmark -f master
hg push https://mpenning@bitbucket.org/mpenning/ciscoconfparse
## On my system, with ~/.pypirc
# Push to github
hg push git+ssh://git@github.com:mpenning/ciscoconfparse.git