diff --git a/.github/workflows/release-github.yml b/.github/workflows/release-github.yml index 9fa786094..1ecf07ba7 100644 --- a/.github/workflows/release-github.yml +++ b/.github/workflows/release-github.yml @@ -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') @@ -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 "you@example.com"