Skip to content

Commit

Permalink
fix: 💚 missing publish command
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecBlance committed Oct 20, 2024
1 parent e4f6a74 commit ddddc31
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@ jobs:
- name: Create Release Pull Request
id: changesets
uses: changesets/action@v1
with:
publish: pnpm build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload assets
if: steps.changesets.outputs.hasChangesets == 'false'
run: |
version=v${{ steps.changesets.outputs.publishedversions[0].version }}
pnpm build
version=v${{ steps.changesets.outputs.publishedPackages[0].version }}
zip -r ${version}.zip .
gh release upload ${version} ${version}.zip
env:
Expand Down

0 comments on commit ddddc31

Please sign in to comment.