From fea85f65e8c26881caf1cedc301d785a0d27b603 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Tue, 7 Mar 2023 12:39:17 +0000 Subject: [PATCH] [ACA-4649] fix publishing of npm libs --- .github/actions/publish-libs/action.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/actions/publish-libs/action.yml b/.github/actions/publish-libs/action.yml index eaa228d31..fe34fef6a 100644 --- a/.github/actions/publish-libs/action.yml +++ b/.github/actions/publish-libs/action.yml @@ -57,7 +57,8 @@ runs: 'aca-content' ); - for PROJECT in "${PROJECTS[@]}"; do + for PROJECT in ${PROJECTS[@]} + do echo "Update \"$PROJECT\" to version \"$NEW_LIBRARY_VERSION\"" if [[ "${{ inputs.dry-run }}" != "true" ]]; then (cd $PROJECTS_DIR/${PROJECT} && npm version --allow-same-version --no-git-tag-version --force "$NEW_LIBRARY_VERSION") @@ -75,7 +76,7 @@ runs: - name: publish tag to GH registry shell: bash run: | - for PROJECT in "${PROJECTS[@]}" + for PROJECT in ${PROJECTS[@]} do cd $DIST_DIR/${PROJECT} @@ -100,7 +101,7 @@ runs: - name: publish tag to NPM registry shell: bash run: | - for PROJECT in "${PROJECTS[@]}" + for PROJECT in ${PROJECTS[@]} do cd $DIST_DIR/${PROJECT}