Skip to content

Commit a17f499

Browse files
committed
fix(scripts): fix release.sh releasing single packages
Signed-off-by: René Jochum <jochumdev@gmail.com>
1 parent 53a0ee5 commit a17f499

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ function release_all() {
192192

193193
function release_specific() {
194194
set +o noglob
195-
while read -r pkg; do
195+
for pkg in $(echo "${1}" | tr "," "\n"); do
196196
# If path contains a star find all relevant packages
197197
if echo "${pkg}" | grep -q "\*"; then
198198
while read -r p; do
@@ -201,7 +201,7 @@ function release_specific() {
201201
else
202202
release "${pkg}" "0"
203203
fi
204-
done < <(echo "${1}" | tr "," "\n")
204+
done
205205
# set -o noglob
206206
# set +o noglob
207207
}

0 commit comments

Comments
 (0)