From a861f23395e2d3391077bfa16855504298e3495c Mon Sep 17 00:00:00 2001 From: Filip Staffa Date: Fri, 19 Jan 2024 16:26:09 +0100 Subject: [PATCH] fix build - removes v from release name --- .github/workflows/dotnetcore.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index c65f26b..398b6e7 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -35,7 +35,7 @@ jobs: run: dotnet test src/PostalCodes.UnitTests/PostalCodes.UnitTests.csproj - name: Extract Version from Release Tag id: get_version - run: echo "VERSION=$(echo '${{ github.event.release.tag_name || env.DEFAULT_VERSION }}' | sed -e 's/^v\.//')" >> $GITHUB_ENV + run: echo "VERSION=$(echo '${{ github.event.release.tag_name || env.DEFAULT_VERSION }}' | sed -e 's/^v//')" >> $GITHUB_ENV - name: Create nuget package run: dotnet pack . -p:PackageVersion=${{ env.VERSION }} -o out --no-build - name: Install dotnet-validate