Skip to content

Commit

Permalink
fix: publish pipe tag regex in filter
Browse files Browse the repository at this point in the history
  • Loading branch information
brandomeniconi committed Nov 29, 2024
1 parent d959331 commit ca967cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
with:
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
- run: PACKAGE_NAME=$(echo "${{ github.ref }}" | sed -E "s:refs/tags/(.+)-v[^-]+$:\1:")
- run: PACKAGE_VERSION=$(echo "${{ github.ref }}" | sed -E "s:refs/tags/.+-(v.+)$:\1:")
- run: PACKAGE_NAME=$(echo "${{ github.ref }}" | sed -E "s:refs/tags/(.+)/v[^-]+$:\1:")
- run: PACKAGE_VERSION=$(echo "${{ github.ref }}" | sed -E "s:refs/tags/.+/(v.+)$:\1:")
- run: npm version $PACKAGE_VERSION --workspace packages/$PACKAGE_NAME
- run: npm install --workspace packages/$PACKAGE_NAME
- run: npm publish --workspace packages/$PACKAGE_NAME --if-present --access public
Expand Down

0 comments on commit ca967cd

Please sign in to comment.