Skip to content

Commit

Permalink
Add NuGet version output to release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
danstis committed Mar 30, 2024
1 parent 98be660 commit 617f00c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
outputs:
version: ${{ steps.gitversion.outputs.FullSemVer }}
prerelease: ${{ steps.gitversion.outputs.PreReleaseTagWithDash }}
nuget: ${{ steps.gitversion.outputs.NuGetVersionV2 }}
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down Expand Up @@ -61,6 +62,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Replace version in NuSpec file
uses: cschleiden/replace-tokens@v1
env:
GitVersion_NuGetVersionV2: ${{ needs.tag.outputs.nuget }}
with:
files: '["rmstale.nuspec"]'
- name: Create directory for chocolaty package
Expand Down

0 comments on commit 617f00c

Please sign in to comment.