From 67b986d0177e2c15747d19e34113cb52e28e11aa Mon Sep 17 00:00:00 2001 From: Henrik Nygren Date: Thu, 5 Oct 2023 14:00:24 +0300 Subject: [PATCH] Fix tag names --- .github/workflows/build.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fd635d5..445e5ce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -61,12 +61,19 @@ jobs: path: ./dist/ - name: Set env for release run: echo "DATE=$(date +'%Y-%m-%d %H:%M')" >> $GITHUB_ENV + - uses: rickstaa/action-create-tag@v1 + id: "tag_create" + with: + tag: "releases/${{ env.DATE }}" + tag_exists_error: true + message: Release ${{ env.DATE }} + - name: Release uses: softprops/action-gh-release@v1 with: files: ./dist/* - name: ${{ env.DATE }} - tag_name: ${{ env.DATE }} + name: Release ${{ env.DATE }} + tag_name: "releases/${{ env.DATE }}" permissions: contents: write