-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #95 from displague/release-1.43.0
v1.43.0 changelog updates
- Loading branch information
Showing
4 changed files
with
104 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# Release Instructions | ||
|
||
These build and release instructions are intended for the maintainers and future maintainers of this project. | ||
|
||
## Preparing a new version | ||
|
||
* a version update in `packet/__init__.py` | ||
* Update CHANGELOG.md with the new release notes | ||
* Add a stub for the next set of Unreleased changes | ||
* Create a PR with these changes | ||
* Merge | ||
|
||
## Tagging and Building | ||
|
||
Pull down the merged changes: | ||
|
||
```bash | ||
git fetch origin | ||
git checkout origin/master | ||
``` | ||
|
||
Tag the commit: | ||
|
||
```bash | ||
git tag -a vAA.BB.CC origin/master -m vAA.BB.CC | ||
``` | ||
|
||
Build the package using `setuptools`: | ||
|
||
```bash | ||
python setup.py sdist bdist_wheel | ||
``` | ||
|
||
## Publishing | ||
|
||
Make sure you have `~/.pypirc` correctly populated, as of today should look something like: | ||
|
||
``` | ||
[distutils] | ||
index-servers = | ||
pypi | ||
testpypi | ||
[pypi] | ||
username: username-here | ||
password: password-here | ||
[testpypi] | ||
repository: https://test.pypi.org/legacy/ | ||
username: username-here (not necessarily same as real pypi) | ||
password: password-here (not necessarily same as real pypi) | ||
``` | ||
|
||
Then upload using twine to testpypi first: | ||
|
||
```bash | ||
twine upload -r testpypi dist/* | ||
``` | ||
|
||
If everything looks good, push the tag to GH, and then push to the real | ||
pypi: | ||
|
||
```bash | ||
git push origin --tags vAA.BB.CC | ||
twine upload dist/* | ||
``` | ||
|
||
Congratulations, you published `packet-python`, :raised_hands:! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters