From 9170b62916f1495017edee542cfc2ff9bc306e87 Mon Sep 17 00:00:00 2001 From: fcaffieri Date: Wed, 18 Mar 2026 17:31:33 -0300 Subject: [PATCH] Update CHANGELOG --- CHANGELOG.md | 2 +- test_bumper.sh | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 test_bumper.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index 20be0027..22b1e219 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/test_bumper.sh b/test_bumper.sh new file mode 100644 index 00000000..9d50b642 --- /dev/null +++ b/test_bumper.sh @@ -0,0 +1,21 @@ +# 1. Ejecutar bump normal (distinto stage) +echo "$ sed -i 's/"stage": "alpha0"/"stage": "rc1"/' VERSION.json" +sed -i 's/"stage": "alpha0"/"stage": "rc1"/' VERSION.json + +echo "$ cat VERSION.json" +cat VERSION.json + +# 2. Ejecutar bumper con los mismos valores + --tag true +echo "$ bash tools/repository_bumper.sh --version 4.14.5 --stage rc1" +bash tools/repository_bumper.sh --version 4.14.5 --stage rc1 + +# 3. Evidencia +echo "$ cat tools/repository_bumper_*.log" +cat tools/repository_bumper_*.log + +echo "$ git status" +git status + +# 4. Cleanup +git checkout -- . +rm -f tools/repository_bumper_*.log