From 703369e3781b3d925b7b5461f75d61495f43f154 Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Mon, 3 May 2021 09:14:52 +1200 Subject: [PATCH] Allow update of existing release --- .github/workflows/on-tag.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/on-tag.yml b/.github/workflows/on-tag.yml index 610ce1d..8e444d3 100644 --- a/.github/workflows/on-tag.yml +++ b/.github/workflows/on-tag.yml @@ -1,5 +1,9 @@ -on: push -name: Release +on: + push: + tags: + - '*' + +name: Create a new release on github jobs: release: runs-on: ubuntu-latest @@ -8,5 +12,6 @@ jobs: uses: Roang-zero1/github-create-release-action@master with: version_regex: ^v[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+ + update_existing: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file