Skip to content

Commit ce66260

Browse files
committed
fix(script): make publish script BSD tools compatible
1 parent 1b3e012 commit ce66260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/publish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ set -e
99
# in the following format e.g. 0.3.0
1010

1111
# iterate over all services and core by their VERSION files
12-
for file in $(find . -printf '%P\n' | grep -E "(^services/[^/]+/VERSION$|^core/VERSION$)"); do
12+
for file in $(find . -print | sed 's|^./||' | grep -E "(^services/[^/]+/VERSION$|^core/VERSION$)"); do
1313

1414
# Extract the current version and build the expected tag
1515
dirpath=$(dirname "$file")

0 commit comments

Comments
 (0)