Skip to content

Commit

Permalink
ci: update workspace names in publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
hollandjg committed Nov 28, 2023
1 parent 4e503ae commit 7b680c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/npm-publish-npmjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ jobs:
- name: Update version numbers
run: |
yarn workspace "@thepolicylab-projectportals/gatsby-theme-project-portal" version "${{ github.ref_name }}"
yarn workspace "@thepolicylab-projectportals/project-portal-content-netlify" version "${{ github.ref_name }}"
yarn workspace "@thepolicylab-projectportals/project-portal-content-decap" version "${{ github.ref_name }}"
- name: Pre-release packages
if: ${{ github.event_name == 'release' && github.event.release.prerelease == true }}
run: |
yarn workspace "@thepolicylab-projectportals/gatsby-theme-project-portal" npm publish --tag next --access public
yarn workspace "@thepolicylab-projectportals/project-portal-content-netlify" npm publish --tag next --access public
yarn workspace "@thepolicylab-projectportals/project-portal-content-decap" npm publish --tag next --access public
- name: Release packages
if: ${{ github.event_name == 'release' && github.event.release.prerelease == false }}
run: |
yarn workspace "@thepolicylab-projectportals/gatsby-theme-project-portal" npm publish --access public
yarn workspace "@thepolicylab-projectportals/project-portal-content-netlify" npm publish --access public
yarn workspace "@thepolicylab-projectportals/project-portal-content-decap" npm publish --access public

0 comments on commit 7b680c9

Please sign in to comment.