Skip to content

Commit

Permalink
Misc build updates (#324)
Browse files Browse the repository at this point in the history
* Update test targets

* Embed symbols

* Fix build shield in readme

* Remove release-drafter

* Add GitHub changelog config

* Remove dependabot

* Updated changelog label

* Update step name in build

* Remove AppVeyor builds
  • Loading branch information
Turnerj authored Dec 26, 2022
1 parent f8f399e commit efae313
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 105 deletions.
16 changes: 0 additions & 16 deletions .appveyor.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .github/dependabot.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/release-drafter.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
changelog:
exclude:
labels:
- ignore-for-release
categories:
- title: ⚠ Breaking Changes
labels:
- breaking-change
- title: Features and Improvements
labels:
- enhancement
- title: Bug Fixes
labels:
- bug
- title: Dependency Updates
labels:
- dependencies
- title: Other Changes
labels:
- "*"
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Setup dotnet 3.1 5.0 6.0
- name: Setup dotnet SDK
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
3.1.x
5.0.x
6.0.x
7.0.x
- name: Install dependencies
run: dotnet restore
- name: Build
Expand Down Expand Up @@ -143,5 +142,5 @@ jobs:
uses: actions/download-artifact@v2
with:
name: 'ubuntu-latest'
- name: 'Upload NuGet package and symbols'
- name: 'Upload NuGet package'
run: dotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}}
14 changes: 0 additions & 14 deletions .github/workflows/release-drafter.yml

This file was deleted.

5 changes: 2 additions & 3 deletions MongoFramework.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28803.352
# Visual Studio Version 17
VisualStudioVersion = 17.5.33209.295
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MongoFramework", "src\MongoFramework\MongoFramework.csproj", "{D871CD75-CC1E-4482-934F-42E74B2BF255}"
EndProject
Expand All @@ -21,7 +21,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{9CBF5A6D
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "global", "global", "{BA117612-DD9B-4296-8F56-5D790AB07D72}"
ProjectSection(SolutionItems) = preProject
.appveyor.yml = .appveyor.yml
.codecov.yml = .codecov.yml
.editorconfig = .editorconfig
.gitignore = .gitignore
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# MongoFramework
An "Entity Framework"-like interface for MongoDB

![Build](https://img.shields.io/github/workflow/status/TurnerSoftware/mongoframework/Build)
![Build](https://img.shields.io/github/actions/workflow/status/TurnerSoftware/mongoframework/build.yml?branch=main)
[![Codecov](https://img.shields.io/codecov/c/github/turnersoftware/mongoframework/main.svg)](https://codecov.io/gh/TurnerSoftware/MongoFramework)
[![NuGet](https://img.shields.io/nuget/v/MongoFramework.svg)](https://www.nuget.org/packages/MongoFramework/)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/62fa31c90bf94f3d8e201b9684a7a4ca)](https://www.codacy.com/app/Turnerj/MongoFramework)
Expand Down
45 changes: 22 additions & 23 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,32 +1,31 @@
<Project>

<PropertyGroup>
<RootNamespace>MongoFramework</RootNamespace>
<PropertyGroup>
<RootNamespace>MongoFramework</RootNamespace>

<Company>Turner Software</Company>
<Company>Turner Software</Company>

<PackageId>$(AssemblyName)</PackageId>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIcon>icon.png</PackageIcon>
<PackageProjectUrl>https://github.com/TurnerSoftware/MongoFramework</PackageProjectUrl>
<PackageBaseTags>mongo;mongodb;data;database;orm</PackageBaseTags>
<PackageId>$(AssemblyName)</PackageId>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIcon>icon.png</PackageIcon>
<PackageProjectUrl>https://github.com/TurnerSoftware/MongoFramework</PackageProjectUrl>
<PackageBaseTags>mongo;mongodb;data;database;orm</PackageBaseTags>

<!-- SourceLink Support -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<!-- SourceLink Support -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<DebugType>embedded</DebugType>

<LangVersion>Latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="TurnerSoftware.BuildVersioning" Version="0.4.0" PrivateAssets="All" />
</ItemGroup>
<LangVersion>Latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="TurnerSoftware.BuildVersioning" Version="0.4.0" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\images\$(PackageIcon)" Pack="true" PackagePath="/" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\images\$(PackageIcon)" Pack="true" PackagePath="/" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion tests/MongoFramework.Tests/MongoFramework.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<AssemblyName>MongoFramework.Tests</AssemblyName>
<RootNamespace>MongoFramework.Tests</RootNamespace>
<TargetFrameworks>net461;net48;netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<TargetFrameworks>net461;net48;net6.0;net7.0</TargetFrameworks>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down

0 comments on commit efae313

Please sign in to comment.