Skip to content

Commit

Permalink
fix: update pre-release version format
Browse files Browse the repository at this point in the history
  • Loading branch information
yufeih committed Jan 13, 2024
1 parent 6f8e2ce commit 834c48e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,17 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
depth: 0
fetch-depth: 0

- id: version
uses: paulhatch/[email protected]
with:
version_format: ${major}.${minor}.${patch}-preview.${increment}

- uses: ./.github/actions/build

- name: dotnet pack
run: dotnet pack -c Release /p:Version=${{ steps.versioning.outputs.version }} -o drop/nuget
run: dotnet pack -c Release /p:Version=${{ steps.version.outputs.version }} -o drop/nuget

- name: dotnet nuget push
run: |
Expand Down

0 comments on commit 834c48e

Please sign in to comment.