forked from mbj4668/pyang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RELEASE-INFO
37 lines (27 loc) · 790 Bytes
/
RELEASE-INFO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# we use semver 2.0.0
# update CHANGELOG.md w/ new release number and date
# ensure CONTRIBUTORS is updated
# update pyang/__init__.py w/ new release number and date
# build doc (the nroff man pages are checked in)
make clean doc
# commit and tag the new release 'pyang-<version>'
git commit -m 'Updates for <version> release'
git tag pyang-<version>
git push
git push --tags
# go to github release page and create a new release from the new
# tag, with the name of the release equal to the tag name
# handle PIP
# create a fresh pip virtual environment
cd ~
rm -rf pyang-pip
virtualenv pyang-pip
source pyang-pip/bin/activate
pip install wheel twine setuptools --upgrade
# build pyang
wpyang
make clean
make sdist
python setup.py bdist_wheel
# upload to pypi
twine upload dist/*