Skip to content

Commit 3fe9a9e

Browse files
authored
Merge pull request #77 from hassanhabib/users/cjdutoit/releases-2.2.0.1
RELEASES: 2.2.0.1
2 parents 83bab85 + a6b61eb commit 3fe9a9e

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

.github/workflows/dotnet.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ env:
2828
}}
2929
jobs:
3030
build:
31-
runs-on: windows-2019
31+
runs-on: ubuntu-latest
3232
steps:
3333
- name: Check out
3434
uses: actions/checkout@v3
@@ -111,6 +111,6 @@ jobs:
111111
- name: Build
112112
run: dotnet build --no-restore --configuration Release
113113
- name: Pack NuGet Package
114-
run: dotnet pack --configuration Release
114+
run: dotnet pack --configuration Release --include-symbols
115115
- name: Push NuGet Package
116116
run: dotnet nuget push **/bin/Release/**/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_ACCESS }}

ADotNet.Infrastructure.Build/Program.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ static void Main(string[] args)
4747
{
4848
Build = new BuildJob
4949
{
50-
RunsOn = BuildMachines.Windows2019,
50+
RunsOn = BuildMachines.UbuntuLatest,
5151

5252
Steps = new List<GithubTask>
5353
{
@@ -207,14 +207,13 @@ static void Main(string[] args)
207207
new PackTask
208208
{
209209
Name = "Pack NuGet Package",
210-
210+
Run = "dotnet pack --configuration Release --include-symbols"
211211
},
212212

213213
new NugetPushTask
214214
{
215215
Name = "Push NuGet Package",
216216
}
217-
218217
},
219218
}
220219
}

ADotNet/ADotNet.csproj

+12-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020
Upgrade today to leverage these powerful features and improve your development workflow.
2121
</PackageReleaseNotes>
2222
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
23-
<AssemblyVersion>2.2.0.0</AssemblyVersion>
24-
<FileVersion>2.2.0.0</FileVersion>
25-
<Version>2.2.0.0</Version>
23+
<PackageReadmeFile>README.md</PackageReadmeFile>
24+
<AssemblyVersion>2.2.0.1</AssemblyVersion>
25+
<FileVersion>2.2.0.1</FileVersion>
26+
<Version>2.2.0.1</Version>
2627
<PackageLicenseFile>License.txt</PackageLicenseFile>
2728
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
2829
<PackageProjectUrl>https://github.com/hassanhabib/ADotNet</PackageProjectUrl>
@@ -36,6 +37,14 @@
3637
<PlatformTarget>AnyCPU</PlatformTarget>
3738
</PropertyGroup>
3839

40+
<ItemGroup>
41+
<None Include="..\README.md">
42+
<Pack>true</Pack>
43+
<PackagePath></PackagePath>
44+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
45+
</None>
46+
</ItemGroup>
47+
3948
<ItemGroup>
4049
<None Include="License.txt" Pack="true" PackagePath="" />
4150
</ItemGroup>

0 commit comments

Comments
 (0)