Skip to content

Commit fb952e2

Browse files
committed
standardized release proc
1 parent 61c7e4c commit fb952e2

File tree

6 files changed

+36
-35
lines changed

6 files changed

+36
-35
lines changed

.travis.yml

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,12 @@
1-
# Config file for automatic testing at travis-ci.org
2-
# This file will be regenerated if you run travis_pypi_setup.py
3-
41
language: python
5-
6-
env:
7-
- TOXENV=py36
8-
- TOXENV=py35
9-
- TOXENV=py34
10-
- TOXENV=py33
11-
- TOXENV=py27
12-
- TOXENV=py26
13-
- TOXENV=pypy
14-
15-
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
16-
install: pip install -U tox
17-
18-
# command to run tests, e.g. python setup.py test
19-
script: tox
20-
21-
2+
python:
3+
- "2.6"
4+
- "2.7"
5+
- "3.3"
6+
- "3.4"
7+
- "3.5"
8+
- "3.6"
9+
install:
10+
- pip install -r requirements.txt
11+
- pip install -r tests/dev_requirements.txt
12+
script: pytest

HISTORY.rst

Whitespace-only changes.

README.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,3 +150,21 @@ Now try and run:
150150
--data '{"pi": 3.14, "e": 2.718}' \
151151
https://<API endpoint URL>
152152
# 5.8580000000000005
153+
154+
Development
155+
===========
156+
157+
Development of this happens on GitHub, patches including tests, documentation are very welcome, as well as bug reports and feature contributions are welcome! Also please open an issue if this tool does not function as you'd expect.
158+
159+
How to release updates
160+
----------------------
161+
162+
Execute the following commands:
163+
164+
.. code:: bash
165+
166+
$ git checkout master
167+
$ bumpversion [major|minor|patch]
168+
$ python setup.py sdist bdist_wheel upload
169+
$ bumpversion --no-tag patch
170+
$ git push origin master --tags

setup.cfg

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
[bumpversion]
2-
current_version = 0.7.1
32
commit = True
43
tag = True
4+
current_version = 0.7.1
5+
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+))?
6+
serialize =
7+
{major}.{minor}.{patch}
58

69
[bumpversion:file:setup.py]
710

811
[bumpversion:file:aws_lambda/__init__.py]
912

10-
[wheel]
13+
[bdist_wheel]
1114
universal = 1
1215

1316
[flake8]
1417
exclude = docs
15-

tests/dev_requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bumpversion==0.5.3
2+

tox.ini

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)