From 9fba350e125cbb39451a7d7bd30cb5b3d5ca7245 Mon Sep 17 00:00:00 2001 From: AritaYuto Date: Sat, 6 Jan 2024 14:00:34 +0900 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9442d8c..e80953f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,9 +22,9 @@ jobs: - name: Generate release title id: gen_release_title run: | - TITLE=$(date "+%Y-%m-%d")_BuildID-${GITHUB_RUN_NUMBER} - echo ::set-output name=version::${TITLE} - echo "Version set to ${TITLE}" + $TITLE = (Get-Date).ToString("yyyy-MM-dd") + "_BuildID-" + $env:GITHUB_RUN_NUMBER + Write-Host "Version set to $TITLE" + echo "::set-output name=version::$TITLE" - name: Create release draft uses: release-drafter/release-drafter@v5