Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## master

## 3.1.0 (2020-02-27)

- [#61](https://github.com/castle/castle-python/pull/61) improve headers and ip extractions, improve ip_headers config, add trusted proxies config, added more events to events list
- [#62](https://github.com/castle/castle-python/pull/62) move request,response, session to apis namespace, add config check before doing request

Expand Down
18 changes: 10 additions & 8 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
Releasing
=========

1. Update `VERSION` in `castle/version.py` to the new version
2. Update the `HISTORY.md` for the impending release
3. `git commit -am "release X.Y.Z"` (where X.Y.Z is the new version)
4. `git tag vX.Y.Z` (where X.Y.Z is the new version)
5. `git push --tags`
6. `rm -rf dist`
7. `python3 setup.py sdist bdist_wheel`
8. `twine upload dist/*`
1. Create branch `X.Y.Z`.
2. Update `VERSION` in `castle/version.py` to the new version
3. Update the `HISTORY.md` for the impending release
4. `git commit -am "release X.Y.Z"` (where X.Y.Z is the new version)
5. Push to Github, make PR, and when ok, merge.
6. Make a release on Github, specify tag as `vX.Y.Z` to create a tag.
7. `git checkout master && git pull`
8. `rm -rf dist`
9. `python3 setup.py sdist bdist_wheel`
10. `twine upload dist/*`


When you change something in the README.rst make sure it is in the correct format, as pypi
Expand Down
2 changes: 1 addition & 1 deletion castle/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = '3.0.0'
VERSION = '3.1.0'