diff --git a/.changeset/slow-falcons-stop.md b/.changeset/slow-falcons-stop.md new file mode 100644 index 00000000..1bb1cf19 --- /dev/null +++ b/.changeset/slow-falcons-stop.md @@ -0,0 +1,5 @@ +--- +"dpkit": patch +--- + +Fixed github releasing diff --git a/.github/workflows/general.yaml b/.github/workflows/general.yaml index c3f567f2..ceb6c548 100644 --- a/.github/workflows/general.yaml +++ b/.github/workflows/general.yaml @@ -4,6 +4,8 @@ on: push: branches: - main + tags: + - "dpkit@*" pull_request: branches: - main @@ -131,7 +133,7 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} distribute: - if: github.event_name == 'push' && startsWith(github.ref_name, 'dpkit@') + if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') runs-on: ubuntu-latest needs: [test-linux, test-macos, test-windows] permissions: