From f2b1a407d5875da284a81559e0a7d7e0db6c7d3e Mon Sep 17 00:00:00 2001 From: Gabriel Camargo Date: Tue, 10 Sep 2024 08:40:48 -0300 Subject: [PATCH] :green_heart: fix: build and release --- .github/workflows/build-and-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index ed2b3c5..59dffad 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -50,7 +50,7 @@ jobs: if: matrix.os == 'windows-latest' id: extract_tag-win run: | - pwsh -Command "$TAG_NAME = '${env:GITHUB_REF}' -replace 'refs/tags/', ''; echo 'TAG_NAME=$TAG_NAME' | Out-File -FilePath '$env:GITHUB_ENV' -Append" + pwsh -Command "$TAG_NAME = '${env:GITHUB_REF}' -replace 'refs/tags/', ''; [System.IO.File]::WriteAllText('$env:GITHUB_ENV', \"TAG_NAME=$TAG_NAME`n\", [System.Text.Encoding]::UTF8)" shell: bash - name: Extract the tag name - Others OS