Skip to content

Commit

Permalink
Merge pull request #7 from epam/release/2.0.10
Browse files Browse the repository at this point in the history
Release 2.0.10
Sinyuk authored Oct 10, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 4b35a47 + 65230de commit 1b3a854
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@ jobs:
previous_version_escaped=$(echo "$previous_version" | sed 's/\./\\./g')
# Extract release notes
release_notes=$(awk "/## \[$current_version_escaped\]/,/## \[$previous_version_escaped\]/" "$changelog_file" | sed '$d')
release_notes=$(awk "/# \[$current_version_escaped\]/,/# \[$previous_version_escaped\]/" "$changelog_file" | sed '$d')
echo "$release_notes"
}
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
CHANGELOG
=========

# [2.0.10] - 2024-07-19
* Support more successful status codes

# [2.0.9] - 2024-07-01
* Fix `'str' object has no attribute 'items'` issue when `--table` flag is present

2 changes: 1 addition & 1 deletion modular_cli/service/decorators.py
Original file line number Diff line number Diff line change
@@ -298,7 +298,7 @@ def _prettify_warnings(warnings: list):

@staticmethod
def is_response_success(response_meta: CommandResponse):
return 200 <= response_meta.code <= 206 # + 207, 208, 226
return 200 <= response_meta.code < 400

@staticmethod
def unpack_success_result_values(response_meta: CommandResponse):
2 changes: 1 addition & 1 deletion modular_cli/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.0.9'
__version__ = '2.0.10'

0 comments on commit 1b3a854

Please sign in to comment.