From af737f59dd7a009dad94bbcd80b69a22bee8cbc2 Mon Sep 17 00:00:00 2001 From: LouisMazel Date: Fri, 17 Mar 2023 14:14:09 +0100 Subject: [PATCH] chore: changelog config --- .github/workflows/lib-publish.yml | 5 ++--- package.json | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) 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"