Skip to content

Commit

Permalink
大改版,不兼容其他版本 (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
teacher-zhou authored Jan 19, 2024
2 parents 44478c4 + 56c5aa4 commit 7d995f8
Show file tree
Hide file tree
Showing 177 changed files with 798 additions and 3,613 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/manual-nuget-pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,20 @@ jobs:
8.0.x
- name: 编译
run: |
dotnet build ./src/Bizer/Bizer.csproj -c release
dotnet build ./src/Bizer.AspNetCore/Bizer.AspNetCore.csproj -c release
dotnet build ./src/Bizer.Client/Bizer.Client.csproj -c release
dotnet build ./src/Bizer.Services/Bizer.Services.csproj -c release
dotnet build ./src/Bizer.Localization/Bizer.Localization.csproj -c release
dotnet build ./src/Core/Bizer/Bizer.csproj -c release
dotnet build ./src/Core/Bizer.AspNetCore/Bizer.AspNetCore.csproj -c release
dotnet build ./src/Core/Bizer.Client/Bizer.Client.csproj -c release
dotnet build ./src/Extensions/Bizer.Extensions.ApplicationService.Abstractions/Bizer.Extensions.ApplicationService.Abstractions.csproj -c release
dotnet build ./src/Extensions/Bizer.Extensions.ApplicationService.EntityFrameworkCore/Bizer.Extensions.ApplicationService.EntityFrameworkCore.csproj -c release
dotnet build ./src/Extensions/Bizer.Extensions.AutoInjection/Bizer.Extensions.AutoInjection.csproj -c release
- name: 发布 nuget 包
run: |
dotnet pack ./src/Bizer/Bizer.csproj -c release -o ./pack -p:PackageVersion=${{ github.event.inputs.version }}
dotnet pack ./src/Bizer.AspNetCore/Bizer.AspNetCore.csproj -c release -o ./pack -p:PackageVersion=${{ github.event.inputs.version }}
dotnet pack ./src/Bizer.Client/Bizer.Client.csproj -c release -o ./pack -p:PackageVersion=${{ github.event.inputs.version }}
dotnet pack ./src/Bizer.Services/Bizer.Services.csproj -c release -o ./pack -p:PackageVersion=${{ github.event.inputs.version }}
dotnet pack ./src/Bizer.Localization/Bizer.Localization.csproj -c release -o ./pack -p:PackageVersion=${{ github.event.inputs.version }}
dotnet pack ./src/Core/Bizer/Bizer.csproj -c release -o ./pack -p:PackageVersion=${{ github.event.inputs.version }}
dotnet pack ./src/Core/Bizer.AspNetCore/Bizer.AspNetCore.csproj -c release -o ./pack -p:PackageVersion=${{ github.event.inputs.version }}
dotnet pack ./src/Core/Bizer.Client/Bizer.Client.csproj -c release -o ./pack -p:PackageVersion=${{ github.event.inputs.version }}
dotnet pack ./src/Extensions/Bizer.Extensions.ApplicationService.Abstractions/Bizer.Extensions.ApplicationService.Abstractions.csproj -c release -o ./pack -p:PackageVersion=${{ github.event.inputs.version }}
dotnet pack ./src/Extensions/Bizer.Extensions.ApplicationService.EntityFrameworkCore/Bizer.Extensions.ApplicationService.EntityFrameworkCore.csproj -c release -o ./pack -p:PackageVersion=${{ github.event.inputs.version }}
dotnet pack ./src/Extensions/Bizer.Extensions.AutoInjection/Bizer.Extensions.AutoInjection.csproj -c release -o ./pack -p:PackageVersion=${{ github.event.inputs.version }}
dotnet nuget push './pack/*.nupkg' -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }} --skip-duplicate
Expand Down
25 changes: 15 additions & 10 deletions .github/workflows/tag-auto-nuget-pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,23 @@ jobs:
8.0.x
- name: 编译
run: |
dotnet build ./src/Bizer/Bizer.csproj -c release
dotnet build ./src/Bizer.AspNetCore/Bizer.AspNetCore.csproj -c release
dotnet build ./src/Bizer.Client/Bizer.Client.csproj -c release
dotnet build ./src/Bizer.Services/Bizer.Services.csproj -c release
dotnet build ./src/Bizer.Localization/Bizer.Localization.csproj -c release
dotnet build ./src/Core/Bizer/Bizer.csproj -c release
dotnet build ./src/Core/Bizer.AspNetCore/Bizer.AspNetCore.csproj -c release
dotnet build ./src/Core/Bizer.Client/Bizer.Client.csproj -c release
dotnet build ./src/Extensions/Bizer.Extensions.ApplicationService.Abstractions/Bizer.Extensions.ApplicationService.Abstractions.csproj -c release
dotnet build ./src/Extensions/Bizer.Extensions.ApplicationService.EntityFrameworkCore/Bizer.Extensions.ApplicationService.EntityFrameworkCore.csproj -c release
dotnet build ./src/Extensions/Bizer.Extensions.AutoInjection/Bizer.Extensions.AutoInjection.csproj -c release
- name: 发布 nuget 包
run: |
dotnet pack ./src/Bizer/Bizer.csproj -c release -o ./pack -p:PackageVersion=${{ github.event.inputs.version }}
dotnet pack ./src/Bizer.AspNetCore/Bizer.AspNetCore.csproj -c release -o ./pack -p:PackageVersion=${{ github.event.inputs.version }}
dotnet pack ./src/Bizer.Client/Bizer.Client.csproj -c release -o ./pack -p:PackageVersion=${{ github.event.inputs.version }}
dotnet pack ./src/Bizer.Services/Bizer.Services.csproj -c release -o ./pack -p:PackageVersion=${{ github.event.inputs.version }}
dotnet pack ./src/Bizer.Localization/Bizer.Localization.csproj -c release -o ./pack -p:PackageVersion=${{ github.event.inputs.version }}
VERSION=`git describe --tags`
echo "Publishing Version: ${VERSION}"
dotnet pack ./src/Core/Bizer/Bizer.csproj -c release -o ./pack -p:PackageVersion=${VERSION}
dotnet pack ./src/Core/Bizer.AspNetCore/Bizer.AspNetCore.csproj -c release -o ./pack -p:PackageVersion=${VERSION}
dotnet pack ./src/Core/Bizer.Client/Bizer.Client.csproj -c release -o ./pack -p:PackageVersion=${VERSION}
dotnet pack ./src/Extensions/Bizer.Extensions.ApplicationService.Abstractions/Bizer.Extensions.ApplicationService.Abstractions.csproj -c release -o ./pack -p:PackageVersion=${VERSION}
dotnet pack ./src/Extensions/Bizer.Extensions.ApplicationService.EntityFrameworkCore/Bizer.Extensions.ApplicationService.EntityFrameworkCore.csproj -c release -o ./pack -p:PackageVersion=${VERSION}
dotnet pack ./src/Extensions/Bizer.Extensions.AutoInjection/Bizer.Extensions.AutoInjection.csproj -c release -o ./pack -p:PackageVersion=${VERSION}
dotnet nuget push './pack/*.nupkg' -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }} --skip-duplicate
Expand Down
Loading

0 comments on commit 7d995f8

Please sign in to comment.