Skip to content

Commit

Permalink
Fix: Using tag version in release_name CI
Browse files Browse the repository at this point in the history
  • Loading branch information
QADRAX authored Mar 20, 2021
1 parent 4964ae4 commit 8622c61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/Publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8622c61

Please sign in to comment.