Skip to content

Commit 873adc7

Browse files
authored
fix: update service tags fails, when .openapi-generator/VERSION was changed (#3375)
1 parent 3b6d0ab commit 873adc7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/update-service-tags.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ set -e
77
# in the following format e.g. v0.3.0
88

99
# Check all version files which have changed
10-
for file in $(git diff --name-only HEAD~1..HEAD | grep VERSION); do
10+
for file in $(git diff --name-only HEAD~1..HEAD | grep -E "(^services/[^/]+/VERSION$|^core/VERSION$)"); do
11+
1112
# Extract the current version and build the expected tag
1213
dirpath=$(dirname $file)
1314
version_path="$dirpath/VERSION"

0 commit comments

Comments
 (0)