From 9e6264c769452031942e0fa0b89fad858d3e1cf7 Mon Sep 17 00:00:00 2001 From: guythetechie <31325620+guythetechie@users.noreply.github.com> Date: Tue, 17 Jan 2023 10:12:59 -0500 Subject: [PATCH] Update create_github_release.yaml (#195) --- .github/workflows/create_github_release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create_github_release.yaml b/.github/workflows/create_github_release.yaml index e3661268..70955a8a 100644 --- a/.github/workflows/create_github_release.yaml +++ b/.github/workflows/create_github_release.yaml @@ -169,7 +169,7 @@ jobs: Set-Content -Path "$runExtractorPath" $runPublisherWithEnvPath = Join-Path "${{ github.workspace }}" "tools" "azdo_pipelines" "run-publisher-with-env.yaml" - (Get-Content -Path "$runExtractorPath") | + (Get-Content -Path "$runPublisherWithEnvPath") | ForEach-Object {$_ -Replace 'desired-version-goes-here', '${{ github.event.inputs.Release_Version }}'} | Set-Content -Path "$runPublisherWithEnvPath" @@ -230,4 +230,4 @@ jobs: ${{github.workspace}}/artifact/Azure_DevOps.zip name: APIOps Toolkit for Azure APIM ${{ github.event.inputs.Release_Version }} tag_name: ${{ github.event.inputs.Release_Version }} - generate_release_notes: true \ No newline at end of file + generate_release_notes: true