Skip to content

Commit

Permalink
ci(release): set version to 0.2.0, update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 26, 2023
1 parent c922293 commit f86994a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
6 changes: 6 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### Version 0.2.0

#### New features

* [feat(set_env)](https://github.com/MODFLOW-USGS/modflow-devtools/commit/53b31cce34d221bade4c842efe3b5ed3034b2742): Add set_env contextmanager utility (#87). Committed by w-bonelli on 2023-07-26.

### Version 0.1.8

#### New features
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

project = "modflow-devtools"
author = "MODFLOW Team"
release = '0.2.0.dev0'
release = "0.2.0"

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
2 changes: 1 addition & 1 deletion modflow_devtools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
__author__ = "Joseph D. Hughes"
__date__ = "Jul 26, 2023"
__version__ = "0.2.0.dev0"
__version__ = "0.2.0"
__maintainer__ = "Joseph D. Hughes"
__email__ = "[email protected]"
__status__ = "Production"
Expand Down
8 changes: 2 additions & 6 deletions scripts/update_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ def update_version_txt(version: Version):
print(f"Updated {_version_txt_path} to version {version}")


def update_init_py(
timestamp: datetime, version: Version
):
def update_init_py(timestamp: datetime, version: Version):
lines = _package_init_path.read_text().rstrip().split("\n")
with open(_package_init_path, "w") as f:
for line in lines:
Expand All @@ -39,9 +37,7 @@ def update_init_py(
print(f"Updated {_package_init_path} to version {version}")


def update_docs_config(
timestamp: datetime, version: Version
):
def update_docs_config(timestamp: datetime, version: Version):
lines = _docs_config_path.read_text().rstrip().split("\n")
with open(_docs_config_path, "w") as f:
for line in lines:
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.0.dev0
0.2.0

0 comments on commit f86994a

Please sign in to comment.