From 04f950eb398ed69d1c2d7b854bdac70e74e09911 Mon Sep 17 00:00:00 2001 From: roll Date: Sat, 20 Sep 2025 12:21:19 +0100 Subject: [PATCH] Fixed github actions --- .changeset/slow-falcons-stop.md | 5 +++++ .github/workflows/general.yaml | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .changeset/slow-falcons-stop.md 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: