Skip to content

Commit

Permalink
[NO JIRA]: Improve releases process further (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
olliecurtis authored Apr 4, 2024
1 parent c382ea5 commit 2d9ba03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ defaults:

jobs:
ReleaseWeb:
name: Release dev version to NPM
name: Release to NPM
runs-on: ubuntu-latest
environment: Publishing
steps:
Expand All @@ -39,7 +39,7 @@ jobs:
run: npm run build

- name: Publish dev NPM package
if: ${{ github.event_name != 'release' && github.ref_name != github.event.repository.default_branch }}
if: ${{ github.event_name != 'release' && github.ref == 'refs/heads/main' }}
run: |
cd packages/react-scripts
npm version prerelease --preid=$BUILD_VERSION-dev --no-git-tag-version
Expand Down

0 comments on commit 2d9ba03

Please sign in to comment.