diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a3315cd..64dc466 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,6 +35,7 @@ jobs: run: echo "date=$(date -u +'%Y-%m-%d %H:%M:%S')" >> "$GITHUB_OUTPUT" - name: Attempt to release + id: changesets uses: changesets/action@8488615a623b1b9c987934bb89eae8af6a946ac1 # v2.1.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -43,6 +44,7 @@ jobs: commit-message: "chore: release ${{ steps.date.outputs.date }}" - name: Publish packages + if: steps.changesets.outputs.has-changesets == 'false' run: > pnpm --recursive --filter "./packages/*" publish --no-git-checks --access public