Skip to content

Commit

Permalink
release v0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
utnapischtim committed Jun 7, 2023
1 parent 65211c5 commit d8126fd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
Changes
=======

Version v0.8.1 (release 2023-06-07)

- refactor: move json validation into JSON
- refactor: get_record_or_draft


Version v0.8.0 (release 2023-06-01)

- records: make arguments ready for drafts too
Expand Down
2 changes: 1 addition & 1 deletion repository_cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

from .ext import RepositoryCli

__version__ = "0.8.0"
__version__ = "0.8.1"

__all__ = ("__version__", "RepositoryCli")
2 changes: 1 addition & 1 deletion repository_cli/records.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def update_records(records: list, data_model: str) -> None:
secho(f"'{pid}', does not exist or is deleted", fg=Color.error)
continue

old_data = service.read(id_=pid, identity=identity).data
old_data = get_data(service, pid, identity)

try:
update_record(service, pid, identity, record, old_data)
Expand Down

0 comments on commit d8126fd

Please sign in to comment.