Skip to content

Commit 7b717f4

Browse files
authored
fix: bump version validation for consistency (#193)
Signed-off-by: Sridhar G K <gksridhar09@gmail.com>
1 parent ac466a4 commit 7b717f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
- name: Verify version consistency
8989
run: |
9090
# Extract versions from all files
91-
BUMPVERSION_VERSION=$(grep "current_version" .bumpversion.cfg | cut -d'=' -f2 | tr -d ' ')
91+
BUMPVERSION_VERSION=$(grep "^current_version = " .bumpversion.cfg | cut -d'=' -f2 | tr -d ' ')
9292
SETUP_VERSION=$(grep "__version__ = " setup.py | head -1 | cut -d"'" -f2)
9393
VERSION_PY=$(grep "__version__ = " ibm_cloud_networking_services/version.py | cut -d"'" -f2)
9494
README_VERSION=$(grep "# IBM Cloud Networking Services Python SDK Version" README.md | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')

0 commit comments

Comments
 (0)