Merge pull request #1979 from wazuh/bug/3018-improve-bumper-early-exits-to-4.14.5

Fix bumper script
This commit is contained in:
Carlos Bordon 2026-03-19 16:39:21 -03:00 committed by GitHub
commit 61bbf96133
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 6 deletions

View File

@ -13,7 +13,7 @@ All notable changes to this project will be documented in this file.
### Fixed
- None
- Fix bumper script early exit ([#1979](https://github.com/wazuh/wazuh-ansible/pull/1979))
### Deleted

View File

@ -125,11 +125,6 @@ main() {
# Get old version and stage
get_old_version_and_stage
if [[ "$OLD_VERSION" == "$VERSION" && "$OLD_STAGE" == "$STAGE" ]]; then
echo "Version and stage are already up to date." | tee -a "${LOG_FILE}"
echo "No changes needed." | tee -a "${LOG_FILE}"
exit 0
fi
if [[ "$OLD_VERSION" != "$VERSION" ]]; then
echo "Updating version from $OLD_VERSION to $VERSION" | tee -a "${LOG_FILE}"
update_version_in_files "$VERSION"