fix: 添加 --version-suffix "" 确保版本号正确
All checks were successful
Publish Platform NuGet Packages / build (push) Successful in 8s

This commit is contained in:
movingsam 2026-03-01 01:25:27 +08:00
parent ed3f5123b5
commit 3ee366ffdf

View File

@ -24,11 +24,11 @@ jobs:
- name: Pack Domain - name: Pack Domain
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')
run: dotnet pack Fengling.Platform.Domain/Fengling.Platform.Domain.csproj -c Release -o ./packages run: dotnet pack Fengling.Platform.Domain/Fengling.Platform.Domain.csproj -c Release -o ./packages --version-suffix ""
- name: Pack Infrastructure - name: Pack Infrastructure
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')
run: dotnet pack Fengling.Platform.Infrastructure/Fengling.Platform.Infrastructure.csproj -c Release -o ./packages run: dotnet pack Fengling.Platform.Infrastructure/Fengling.Platform.Infrastructure.csproj -c Release -o ./packages --version-suffix ""
- name: Push to Gitea - name: Push to Gitea
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')