Merge pull request #1979 from wazuh/bug/3018-improve-bumper-early-exits-to-4.14.5
Fix bumper script
This commit is contained in:
commit
61bbf96133
@ -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
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user