Skip to content

Commit

Permalink
Stuffed up the package versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpowell committed Nov 11, 2024
1 parent 09550ad commit 7201c81
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,13 @@ jobs:
run: dotnet restore
- name: Build
run: dotnet build --no-restore --configuration ${{ env.DOTNET_CONFIGURATION }}

- name: Get git tag
id: git_tag
run: "echo tag=${GITHUB_REF#refs/tags/v} >> $GITHUB_OUTPUT"

- name: Publish NuGet package
run: dotnet pack --no-build -c ${{ env.DOTNET_CONFIGURATION }} -o ${{ env.OUTPUT_PATH }} -p:VersionSuffix='alpha.${{ github.run_number }}'
run: dotnet pack --no-build -c ${{ env.DOTNET_CONFIGURATION }} -o ${{ env.OUTPUT_PATH }} -p:PackageVersion=${{ steps.git_tag.outputs.tag }} /p:ReleaseBuild=true

- name: Publish release packages
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 7201c81

Please sign in to comment.