File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 for proj in src/**/*.csproj; do
2323 dotnet restore "$proj"
2424 done
25+ - name : Set VERSION from git tag
26+ run : |
27+ echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
2528
2629 - name : Build
2730 run : |
3235 - name : Pack all projects in src
3336 run : |
3437 for proj in src/**/*.csproj; do
35- dotnet pack "$proj" --configuration Release --no-build --output ./nupkgs
38+ dotnet pack "$proj" --configuration Release --no-build --output ./nupkgs /p:Version=${VERSION}
3639 done
3740
3841 - name : Push all packages to NuGet
Original file line number Diff line number Diff line change 11<Solution >
22 <Folder Name =" /actions/" >
33 <File Path =" .github/workflows/nuget-publish.yml" />
4- <File Path =" .github/workflows/publish.yml" />
54 </Folder >
65 <Folder Name =" /examples/" >
76 <Project Path =" CommonCraw.ConsoleApp/CommonCraw.ConsoleApp.csproj" Id =" 31ff5ad8-4851-4803-b5b9-46c689fd9b2a" />
Original file line number Diff line number Diff line change 66 <ImplicitUsings >enable</ImplicitUsings >
77 <Authors >sunny</Authors >
88 <RootNamespace >CommonCrawl</RootNamespace >
9+ <PackageReadmeFile >README.md</PackageReadmeFile >
910 <RepositoryUrl >https://github.com/m67186636/CommonCrawl.Net</RepositoryUrl >
1011 <GenerateAssemblyConfigurationAttribute >false</GenerateAssemblyConfigurationAttribute >
1112 <GenerateAssemblyCompanyAttribute >false</GenerateAssemblyCompanyAttribute >
You can’t perform that action at this time.
0 commit comments