diff --git a/.github/workflows/publish_npm.yaml b/.github/workflows/publish_npm.yaml index 9a7c546..8644f41 100644 --- a/.github/workflows/publish_npm.yaml +++ b/.github/workflows/publish_npm.yaml @@ -19,10 +19,10 @@ jobs: node-version: 16 registry-url: https://registry.npmjs.org/ - - run: echo "$(git tag --sort=-creatordate | head -n 1)" + - run: echo $(git tag --sort=-creatordate | head -n 1) - name: Get version id: get_version - run: echo "VERSION=$( git tag --sort=-creatordate | head -n 1 )" >> $GITHUB_OUTPUT + run: echo "VERSION=$( (git tag --sort=-creatordate | head -n 1) )" >> $GITHUB_OUTPUT - name: Get commit id id: get_commit_id run: echo "COMMIT_ID=$( git rev-parse --short "$GITHUB_SHA" )" >> $GITHUB_OUTPUT