From b3832b0038987161220adee1d3df75e74bc31cab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arne=20J=C3=B8rgensen?= Date: Sat, 19 Jun 2021 09:35:21 +0200 Subject: [PATCH] Also create release from full semver tag --- .github/workflows/release.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e93bd02..47cae80 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,7 @@ jobs: - name: Get current date id: date run: echo "::set-output name=date::$(date --iso-8601=seconds)" - - name: Create/update release + - name: Create/update release ${{ steps.major-version.outputs.tag }} if: ${{ steps.version.outputs.new_tag }} != "" uses: ncipollo/release-action@v1 with: @@ -44,3 +44,11 @@ jobs: tag: ${{ steps.major-version.outputs.tag }} name: ${{ steps.version.outputs.new_tag }} (${{ steps.date.outputs.date }}) omitBody: true + - name: Create release ${{ steps.version.outputs.new_tag }} + if: ${{ steps.version.outputs.new_tag }} != "" + uses: ncipollo/release-action@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + tag: ${{ steps.version.outputs.new_tag }} + name: Release ${{ steps.version.outputs.new_tag }} + omitBody: true