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 35d8543 commit e039134
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release-github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ jobs:
run: npx semantic-release --dry-run
- name: Build artifacts for PRs
if: github.event_name == 'pull_request'
run: npm run dist
run: |
npm version prerelease --preid pr207 --workspaces --git-tag-version false
npm version prerelease --preid pr207 --workspaces --include-workspace-root --git-tag-version false
npm run dist
- name: Check if semantic-release created a build
id: check_build
uses: andstor/file-existence-action@v2
Expand All @@ -85,8 +88,6 @@ jobs:
run: |
echo "NPM DIST TAG ::: " ${{ env.NPM_DIST_TAG }}
echo "Release Channel ::: " $RELEASE_CHANNEL
npm version prerelease --preid pr207 --workspaces --git-tag-version false
npm version prerelease --preid pr207 --workspaces --include-workspace-root --git-tag-version false
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 Down

0 comments on commit e039134

Please sign in to comment.