File tree Expand file tree Collapse file tree 5 files changed +7
-25
lines changed Expand file tree Collapse file tree 5 files changed +7
-25
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ commit = False
44tag = False
55
66[bumpversion:file:rest_framework_api_key/__init__.py]
7-
7+ [bumpversion:file:pyproject.toml]
Original file line number Diff line number Diff line change @@ -36,4 +36,4 @@ deploy:
3636 tags : true
3737 # deploy only once
3838 python : " 3.7"
39- condition : " $DJANGO_VERSION = 2.2"
39+ condition : " $DJANGO_VERSION = 2.2.* "
Original file line number Diff line number Diff line change @@ -46,27 +46,12 @@ $ python scripts/makemigrations.py
4646- ` test ` : run test suite.
4747- ` lint ` : run linters and auto-formatters.
4848- ` check ` : check code style.
49-
50- ### CI/CD
51-
52- Travis CI is in use to automatically:
53-
54- - Test the package on supported versions of Python and Django.
55- - Release _ tagged commits_ to PyPI.
56-
57- See ` .travis.yml ` for further details.
49+ - ` bump (patch | minor | major) ` : bump package version (extra options are forwared to [ bumpversion] ( https://pypi.org/project/bumpversion/ ) ).
5850
5951### Releasing
6052
61- When ready to release a new version, use [ bumpversion] ( https://pypi.org/project/bumpversion/ ) to update the package's version:
62-
63- ``` bash
64- $ bumpversion (patch | minor | major)
65- ```
66-
67- This will create a new commit and tag that commit with the new version. See [ .bumpversion.cfg] ( .bumpversion.cfg ) for more info.
68-
69- Then, push the tagged commit to remote:
53+ - Update the package version using the ` bump ` script.
54+ - Push the tagged commit to remote:
7055
7156``` bash
7257$ git push --tags
Original file line number Diff line number Diff line change 1- #! /bin/bash
2-
3- # Stop if any command fails.
4- set -e
1+ #! /bin/bash -e
52
63ARGS=" $@ "
74CHANGELOG=" CHANGELOG.md"
@@ -14,7 +11,7 @@ CURRENT_VERSION=$(get current_version)
1411NEW_VERSION=$( get new_version)
1512
1613bumpversion " $@ " --no-tag --no-commit
17- python scripts/changelog_bump .py " $CHANGELOG " " v$NEW_VERSION "
14+ python scripts/bump_changelog .py " $CHANGELOG " " v$NEW_VERSION "
1815
1916git add -A
2017git commit -m " Bump version: $CURRENT_VERSION β $NEW_VERSION "
File renamed without changes.
You canβt perform that action at this time.
0 commit comments