Skip to content

Commit

Permalink
Revert bumpversion patch, use dict.get to avoid KeyErrors
Browse files Browse the repository at this point in the history
  • Loading branch information
EddieLF committed Apr 2, 2024
1 parent 8f6519e commit 5af034b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 6.8.1
current_version = 6.8.0
commit = True
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>[A-z0-9-]+)
Expand Down
2 changes: 1 addition & 1 deletion api/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from db.python.utils import get_logger

# This tag is automatically updated by bump2version
_VERSION = '6.8.1'
_VERSION = '6.8.0'

logger = get_logger()

Expand Down
2 changes: 1 addition & 1 deletion db/python/layers/seqr.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ async def post_es_index_update(self, session: aiohttp.ClientSession, url: str, p
headers=headers,
)
resp.raise_for_status()
return f'Updated ES index {post_json["elasticsearchIndex"]}: {resp.status} - {resp.reason}'
return f'Updated ES index {post_json.get("elasticsearchIndex")}: {resp.status} - {resp.reason}'

async def update_es_index(
self,
Expand Down
2 changes: 1 addition & 1 deletion deploy/python/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.8.1
6.8.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
setup(
name=PKG,
# This tag is automatically updated by bump2version
version='6.8.1',
version='6.8.0',
description='Python API for interacting with the Sample API system',
long_description=readme,
long_description_content_type='text/markdown',
Expand Down
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "metamist",
"version": "6.8.1",
"version": "6.8.0",
"private": true,
"dependencies": {
"@apollo/client": "^3.7.3",
Expand Down

0 comments on commit 5af034b

Please sign in to comment.