From 1a5d79623e8d64a1f4aa8a202a91dfe66c0f214a Mon Sep 17 00:00:00 2001 From: Thomas Deinhamer Date: Sun, 24 Nov 2024 18:33:30 +0100 Subject: [PATCH] Update release workflow --- .github/workflows/release.yaml | 4 +++- release.config.js | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1dc1392..e181b28 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,7 +1,9 @@ name: RELEASE on: - workflow_dispatch: + push: + branches: + - main jobs: source: diff --git a/release.config.js b/release.config.js index d8307d8..d982a47 100644 --- a/release.config.js +++ b/release.config.js @@ -6,4 +6,5 @@ export default { '@semantic-release/github', '@semantic-release/npm', ], + tagFormat: '${version}', };