From 8622c61847e4cbdea92671dc01c06b889acbbd16 Mon Sep 17 00:00:00 2001 From: QADRAX Date: Sat, 20 Mar 2021 12:01:09 +0100 Subject: [PATCH] Fix: Using tag version in release_name CI --- .github/workflows/Publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Publish.yml b/.github/workflows/Publish.yml index ea602a5..981e947 100644 --- a/.github/workflows/Publish.yml +++ b/.github/workflows/Publish.yml @@ -34,7 +34,8 @@ jobs: - name: Build shell: bash run: | - release_name="ConversationalWeed-${{ matrix.target }}" + tag=$(git describe --tags --abbrev=0) + release_name="ConversationalWeed-$tag-${{ matrix.target }}" # Build everything dotnet publish src/ConversationalWeed.Host/ConversationalWeed.Host.csproj --framework netcoreapp3.1 --runtime "${{ matrix.target }}" -c Release -o "$release_name"