Skip to content

Commit

Permalink
npm version command
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinshahfws committed Nov 10, 2023
1 parent 95e65a0 commit 007209f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ jobs:
run: |
echo "NPM DIST TAG ::: " ${{ env.NPM_DIST_TAG }}
echo "Release Channel ::: " $RELEASE_CHANNEL
npm version prerelease --preid $RELEASE_CHANNEL
npm version prerelease --preid $RELEASE_CHANNEL --workspaces
npm publish --tag $RELEASE_CHANNEL --workspaces
- name: Dry-run Firebolt SDKs to NPM
if: steps.check_build.outputs.files_exists == 'true' && (github.ref_name == 'main' && github.event_name != 'workflow_dispatch')
Expand All @@ -106,8 +108,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_BOT_PAT }} # <-- Allows semantic-release-bot to push changes to protected branches
npm_config_tag: ${{ env.NPM_DIST_TAG }} # <-- For main, this is `latest.` Otherwise, `next`, `next-major`, etc. See ./.releaserc for release branch config.
run: |
echo "GitHub Config ::::: '${{ github.event.pull_request.head.repo.full_name }}'"
echo "GitHub Event Name :::: '${{ github.event_name }}'"
npm run publish:docs /tmp/firebolt-docs $RELEASE_CHANNEL
cd /tmp/firebolt-docs
git config --global user.email "[email protected]"
Expand Down

0 comments on commit 007209f

Please sign in to comment.