Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vforteli authored Aug 30, 2022
1 parent 66912d0 commit ad21c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- name: Pack release
if: "startsWith(github.ref, 'refs/tags/v')"
run: dotnet pack -c Release --no-build -p:PackageVersion=${{github.ref_name}}
run: dotnet pack -c Release --no-build -p:PackageVersion=${${{github.ref_name}}:1}

- name: Upload nuget package
if: (github.ref == 'refs/heads/main' && github.event_name != 'pull_request') || startsWith(github.ref, 'refs/tags/v')
Expand Down

0 comments on commit ad21c28

Please sign in to comment.