From f77bc221783ee5902973c24fcc3d6a4330982273 Mon Sep 17 00:00:00 2001 From: Za Warudo <72373341+xHarlock@users.noreply.github.com> Date: Thu, 7 Dec 2023 16:34:31 +0100 Subject: [PATCH] Update dotnet-publish.yml --- .github/workflows/dotnet-publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnet-publish.yml b/.github/workflows/dotnet-publish.yml index a7f7c27..57b18da 100644 --- a/.github/workflows/dotnet-publish.yml +++ b/.github/workflows/dotnet-publish.yml @@ -27,7 +27,9 @@ jobs: - name: Generate tag name id: tag_name - run: echo "RELEASE_TAG=release-$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV + run: | + $tag = "release-" + $(Get-Date -Format "yyyyMMddHHmmss") + echo "RELEASE_TAG=$tag" >> $GITHUB_ENV - name: Create Release id: create_release