Skip to content

Commit f8319fe

Browse files
authored
release 3.1.0 (#63)
* update releasing * release 3.1.0
1 parent 9a5b912 commit f8319fe

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

HISTORY.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## master
22

3+
## 3.1.0 (2020-02-27)
4+
35
- [#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
46
- [#62](https://github.com/castle/castle-python/pull/62) move request,response, session to apis namespace, add config check before doing request
57

RELEASING.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
Releasing
22
=========
33

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

1315

1416
When you change something in the README.rst make sure it is in the correct format, as pypi

castle/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = '3.0.0'
1+
VERSION = '3.1.0'

0 commit comments

Comments
 (0)