Skip to content

Commit

Permalink
Release verion update
Browse files Browse the repository at this point in the history
  • Loading branch information
henrykironde committed Oct 9, 2024
1 parent eb41053 commit bd7d391
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "1.4.0-dev0"
current_version = "1.4.0"

parse = """(?x)
(?P<major>0|[1-9]\\d*)\\.
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Start
1. **Run the tests** – seriously, run them now.
2. Ensure `HISTORY.rst` is up to date with all changes since the last release.
3. Use `bump-my-version show-bump` to determine the appropriate version bump.
4. Update the version for release: `bump-my-version bump [minor | patch | pre_l | pre_n]`.
4. Update the version for release: `bump-my-version bump [minor | patch | pre_l | pre_n]`. If show-bump does not have the right option, we can manually set it `bump-my-version bump --new-version 1.4.0`
5. Publish the release to PyPi and update the Conda package.
6. Post-release, update the version to the next development iteration:
- Run `bump-my-version show-bump` to check the target version.
Expand Down
2 changes: 1 addition & 1 deletion deepforest/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.4.0-dev0'
__version__ = '1.4.0'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from distutils.command.build_ext import build_ext as DistUtilsBuildExt

NAME = 'deepforest'
VERSION = '1.4.0-dev0'
VERSION = '1.4.0'
DESCRIPTION = 'Tree crown prediction using deep learning retinanets'
URL = 'https://github.com/Weecology/DeepForest'
AUTHOR = 'Ben Weinstein'
Expand Down
11 changes: 8 additions & 3 deletions version_switcher.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,16 @@
"url": "https://deepforest.readthedocs.io/en/latest/"
},
{
"name": "1.3.3 (stable)",
"version": "1.3.3",
"url": "https://deepforest.readthedocs.io/en/v1.3.3/",
"name": "1.4.0 (stable)",
"version": "1.4.0",
"url": "https://deepforest.readthedocs.io/en/v1.4.0/",
"preferred": true
},
{
"name": "1.3.3",
"version": "1.3.3",
"url": "https://deepforest.readthedocs.io/en/v1.3.3/"
},
{
"name": "1.3.2",
"version": "1.3.2",
Expand Down

0 comments on commit bd7d391

Please sign in to comment.