Skip to content

Commit

Permalink
fix: Fixed a syntax error in CI (publish-to-npm.yml)
Browse files Browse the repository at this point in the history
  • Loading branch information
frol authored Feb 4, 2024
1 parent 824d72d commit cff0ad5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
fi
NPM_PACKAGE_NAME=${{ vars.NPM_PACKAGE_NAME }}
if [ -z "$NPM_PACKAGE_NAME" ]; then
NPM_PACKAGE_NAME=${GITHUB_REPOSITORY#*/}}
NPM_PACKAGE_NAME=${GITHUB_REPOSITORY#*/}
fi
npm publish "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/releases/download/$RELEASE_TAG_NAME/$NPM_PACKAGE_NAME-npm-package.tar.gz"
npm publish "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/releases/download/$RELEASE_TAG_NAME/$NPM_PACKAGE_NAME-npm-package.tar.gz"

0 comments on commit cff0ad5

Please sign in to comment.