Skip to content

Commit

Permalink
Fix dotnet version and change tag name extraction in release workflow
Browse files Browse the repository at this point in the history
- Modify the command to extract the tag name by removing the first character before passing it to the dotnet publish command.

Signed-off-by: Bryan Gonzalez <[email protected]>
  • Loading branch information
SheepReaper committed Oct 7, 2023
1 parent 39d58b1 commit cc2f6a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
dotnet-version: "8.0"

- name: Build
run: dotnet publish -c Release --self-contained -p:DebugType=None -p:DebugSymbols=false -p:PublishReadyToRun=true -p:Version=${{ github.event.release.tag_name }} -r ${{ matrix.target }} -o out/${{ matrix.target }} -- ./src/yk-csr-cli/GenerateYKCSR.csproj
run: dotnet publish -c Release --self-contained -p:DebugType=None -p:DebugSymbols=false -p:PublishReadyToRun=true -p:Version=$(echo ${{ github.event.release.tag_name }} | cut -c2-) -r ${{ matrix.target }} -o out/${{ matrix.target }} -- ./src/yk-csr-cli/GenerateYKCSR.csproj

- name: Archive and Hash
run: |
Expand Down

0 comments on commit cc2f6a5

Please sign in to comment.