forked from wazuh/wazuh-docker
Fix bumper script
This commit is contained in:
@@ -146,11 +146,6 @@ main() {
|
|||||||
# Get old version and stage
|
# Get old version and stage
|
||||||
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
|
if [[ "${OLD_VERSION}" != "${VERSION}" ]]; then
|
||||||
echo "Updating version from ${OLD_VERSION} to ${VERSION}" | tee -a "${LOG_FILE}"
|
echo "Updating version from ${OLD_VERSION} to ${VERSION}" | tee -a "${LOG_FILE}"
|
||||||
update_version_in_files "${VERSION}"
|
update_version_in_files "${VERSION}"
|
||||||
|
|||||||
Reference in New Issue
Block a user