From e4f6abcea74399a6a73f9b10315e63a5ddf1c1e0 Mon Sep 17 00:00:00 2001 From: prasenjeetnath <147582543+prasenjeetnath@users.noreply.github.com> Date: Thu, 23 Nov 2023 17:00:26 +0530 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f286543..f2718e4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -46,7 +46,7 @@ jobs: id: gitversion run: | echo "SemVer: v$($env:GitVersion_SemVer)" - Write-Host "::set-output name=semver::v$($env:GitVersion_SemVer)" + Write-Host "::set-output name=semver::v$($env:GitVersion_MajorMinorPatch)" $fileName = "dummy-v$($env:GitVersion_SemVer)" echo "SemVerMMP: v$($env:GitVersion_MajorMinorPatch)" Write-Host "Filename: '$fileName'" @@ -137,9 +137,9 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: v$($env:GitVersion_MajorMinorPatch) - #tag_name: ${{ needs.build.outputs.semver }} - release_name: Release v$($env:GitVersion_MajorMinorPatch) + #tag_name: v$($env:GitVersion_MajorMinorPatch) + tag_name: ${{ needs.build.outputs.semver }} + release_name: Release v${{ needs.build.outputs.semver }} body: | ${{ github.event.head_commit.message }} draft: true