From 50722520625b2976eb85dd7814820efaeba51bc8 Mon Sep 17 00:00:00 2001 From: Marcel Jacek Date: Mon, 28 Jul 2025 13:04:20 +0200 Subject: [PATCH 1/3] update VERSION --- scripts/update-service-tags.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/update-service-tags.sh b/scripts/update-service-tags.sh index b4e4e9229..4642f58ec 100755 --- a/scripts/update-service-tags.sh +++ b/scripts/update-service-tags.sh @@ -8,6 +8,12 @@ set -e # Check all version files which have changed for file in $(git diff --name-only HEAD~1..HEAD | grep VERSION); do + # Skip version file of the openapi-generator + if [[ $file =~ ".openapi-generator" ]]; then + echo "Skipped openapi-generator version file '$file'" + continue + fi + # Extract the current version and build the expected tag dirpath=$(dirname $file) version_path="$dirpath/VERSION" From 4a127dba3b7997a8132cb64228c1fc0d312ba32f Mon Sep 17 00:00:00 2001 From: Marcel Jacek Date: Mon, 28 Jul 2025 17:55:28 +0200 Subject: [PATCH 2/3] implement review feedback --- scripts/update-service-tags.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/update-service-tags.sh b/scripts/update-service-tags.sh index 4642f58ec..fd40619d3 100755 --- a/scripts/update-service-tags.sh +++ b/scripts/update-service-tags.sh @@ -7,12 +7,7 @@ set -e # in the following format e.g. v0.3.0 # Check all version files which have changed -for file in $(git diff --name-only HEAD~1..HEAD | grep VERSION); do - # Skip version file of the openapi-generator - if [[ $file =~ ".openapi-generator" ]]; then - echo "Skipped openapi-generator version file '$file'" - continue - fi +for file in $(git diff --name-only HEAD~1..HEAD | grep "services/[^/]\+/VERSION$"); do # Extract the current version and build the expected tag dirpath=$(dirname $file) From 87d3a63e07ccd59f24daaa6e2e3c300375b0c584 Mon Sep 17 00:00:00 2001 From: Marcel Jacek Date: Tue, 29 Jul 2025 09:00:53 +0200 Subject: [PATCH 3/3] update regex for VERSION files --- scripts/update-service-tags.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update-service-tags.sh b/scripts/update-service-tags.sh index fd40619d3..5ede99c0e 100755 --- a/scripts/update-service-tags.sh +++ b/scripts/update-service-tags.sh @@ -7,7 +7,7 @@ set -e # in the following format e.g. v0.3.0 # Check all version files which have changed -for file in $(git diff --name-only HEAD~1..HEAD | grep "services/[^/]\+/VERSION$"); do +for file in $(git diff --name-only HEAD~1..HEAD | grep -E "(^services/[^/]+/VERSION$|^core/VERSION$)"); do # Extract the current version and build the expected tag dirpath=$(dirname $file)