diff --git a/.github/workflows/lib-publish.yml b/.github/workflows/lib-publish.yml index 0a1d075..67950e6 100644 --- a/.github/workflows/lib-publish.yml +++ b/.github/workflows/lib-publish.yml @@ -1,9 +1,8 @@ name: Lib Publish To Npm on: - push: - tags: - - v*.*.* + release: + types: [created] # push: # branches: # - main diff --git a/package.json b/package.json index 31cdded..2d761a4 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "dev:prepare": "nuxt-module-build --stub && nuxi prepare client", "play:dev": "nuxi dev playground", "play:prod": "npm run prepack && nuxi dev playground", - "release": "changelogen --release && git push --follow-tags", + "release": "changelogen --release --push", "lint": "cross-env NODE_ENV=production eslint .", "test": "vitest run", "test:watch": "vitest watch"