Skip to content

Commit

Permalink
cleanup: fix links and release note template
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
natemcmaster committed Jan 31, 2021
1 parent 6f40206 commit 7bf4d79
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 17 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,14 @@ jobs:
name: ${{ env.PACKAGE_VERSION }}
tag_name: v${{ env.PACKAGE_VERSION }}
body: |
## Notes
## How to get this update
Packages have been posted to these feeds:
#### NuGet.org
https://nuget.org/packages/DotNetCorePlugins/${{ env.PACKAGE_VERSION }}
https://nuget.org/packages/DotNetCorePlugins.Azure/${{ env.PACKAGE_VERSION }}
https://nuget.org/packages/McMaster.NETCore.Plugins/${{ env.PACKAGE_VERSION }}
https://nuget.org/packages/McMaster.NETCore.Plugins.Mvc/${{ env.PACKAGE_VERSION }}
#### GitHub Package Registry
https://github.com/natemcmaster?tab=packages&repo_name=DotNetCorePlugins
Expand Down
2 changes: 1 addition & 1 deletion samples/hello-world/PluginContract/IPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace HelloWorld
/// <summary>
/// This interface is an example of one way to define the interactions between the host and plugins.
/// There is nothing special about the name "IPlugin"; it's used here to illustrate a concept.
/// Look at https://github.com/natemcmaster/DotNetCorePlugins/tree/master/samples for additional examples
/// Look at https://github.com/natemcmaster/DotNetCorePlugins/tree/main/samples for additional examples
/// of ways you could define the interaction between host and plugins.
/// </summary>
public interface IPlugin
Expand Down
2 changes: 1 addition & 1 deletion src/Plugins.Mvc/McMaster.NETCore.Plugins.Mvc.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<PackageDescription>Provides API for dynamically loading MVC controllers into an ASP.NET Core web application.

This package should be used by the host application which needs to load plugins.
See https://github.com/natemcmaster/DotNetCorePlugins/blob/master/README.md for more samples and documentation.
See https://github.com/natemcmaster/DotNetCorePlugins/blob/main/README.md for more samples and documentation.
</PackageDescription>
<PackageTags>.NET Core;plugins;aspnetcore</PackageTags>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Plugins/McMaster.NETCore.Plugins.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PackageDescription>Provides API for dynamically loading assemblies into a .NET application.

This package should be used by the host application which needs to load plugins.
See https://github.com/natemcmaster/DotNetCorePlugins/blob/master/README.md for more samples and documentation.
See https://github.com/natemcmaster/DotNetCorePlugins/blob/main/README.md for more samples and documentation.
</PackageDescription>
<PackageTags>.NET Core;plugins</PackageTags>
<DefineConstants Condition="'$(TargetFramework)' == 'netcoreapp3.1'">$(DefineConstants);FEATURE_UNLOAD</DefineConstants>
Expand Down
8 changes: 4 additions & 4 deletions src/Plugins/PluginConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ public PluginConfig(string mainAssemblyPath)
/// <summary>
/// A list of assemblies which should be unified between the host and the plugin.
/// </summary>
/// <seealso href="https://github.com/natemcmaster/DotNetCorePlugins/blob/master/docs/what-are-shared-types.md">
/// https://github.com/natemcmaster/DotNetCorePlugins/blob/master/docs/what-are-shared-types.md
/// <seealso href="https://github.com/natemcmaster/DotNetCorePlugins/blob/main/docs/what-are-shared-types.md">
/// https://github.com/natemcmaster/DotNetCorePlugins/blob/main/docs/what-are-shared-types.md
/// </seealso>
public ICollection<AssemblyName> SharedAssemblies { get; protected set; } = new List<AssemblyName>();

Expand All @@ -56,8 +56,8 @@ public PluginConfig(string mainAssemblyPath)
/// <para>
/// This does not guarantee types will unify.
/// </para>
/// <seealso href="https://github.com/natemcmaster/DotNetCorePlugins/blob/master/docs/what-are-shared-types.md">
/// https://github.com/natemcmaster/DotNetCorePlugins/blob/master/docs/what-are-shared-types.md
/// <seealso href="https://github.com/natemcmaster/DotNetCorePlugins/blob/main/docs/what-are-shared-types.md">
/// https://github.com/natemcmaster/DotNetCorePlugins/blob/main/docs/what-are-shared-types.md
/// </seealso>
/// </summary>
public bool PreferSharedTypes { get; set; }
Expand Down
16 changes: 8 additions & 8 deletions src/Plugins/PluginLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public class PluginLoader : IDisposable
/// A list of types which should be shared between the host and the plugin.
/// </para>
/// <para>
/// <seealso href="https://github.com/natemcmaster/DotNetCorePlugins/blob/master/docs/what-are-shared-types.md">
/// https://github.com/natemcmaster/DotNetCorePlugins/blob/master/docs/what-are-shared-types.md
/// <seealso href="https://github.com/natemcmaster/DotNetCorePlugins/blob/main/docs/what-are-shared-types.md">
/// https://github.com/natemcmaster/DotNetCorePlugins/blob/main/docs/what-are-shared-types.md
/// </seealso>
/// </para>
/// </param>
Expand All @@ -53,8 +53,8 @@ public static PluginLoader CreateFromAssemblyFile(string assemblyFile, bool isUn
/// A list of types which should be shared between the host and the plugin.
/// </para>
/// <para>
/// <seealso href="https://github.com/natemcmaster/DotNetCorePlugins/blob/master/docs/what-are-shared-types.md">
/// https://github.com/natemcmaster/DotNetCorePlugins/blob/master/docs/what-are-shared-types.md
/// <seealso href="https://github.com/natemcmaster/DotNetCorePlugins/blob/main/docs/what-are-shared-types.md">
/// https://github.com/natemcmaster/DotNetCorePlugins/blob/main/docs/what-are-shared-types.md
/// </seealso>
/// </para>
/// </param>
Expand All @@ -81,8 +81,8 @@ public static PluginLoader CreateFromAssemblyFile(string assemblyFile, bool isUn
/// A list of types which should be shared between the host and the plugin.
/// </para>
/// <para>
/// <seealso href="https://github.com/natemcmaster/DotNetCorePlugins/blob/master/docs/what-are-shared-types.md">
/// https://github.com/natemcmaster/DotNetCorePlugins/blob/master/docs/what-are-shared-types.md
/// <seealso href="https://github.com/natemcmaster/DotNetCorePlugins/blob/main/docs/what-are-shared-types.md">
/// https://github.com/natemcmaster/DotNetCorePlugins/blob/main/docs/what-are-shared-types.md
/// </seealso>
/// </para>
/// </param>
Expand All @@ -99,8 +99,8 @@ public static PluginLoader CreateFromAssemblyFile(string assemblyFile, Type[] sh
/// A list of types which should be shared between the host and the plugin.
/// </para>
/// <para>
/// <seealso href="https://github.com/natemcmaster/DotNetCorePlugins/blob/master/docs/what-are-shared-types.md">
/// https://github.com/natemcmaster/DotNetCorePlugins/blob/master/docs/what-are-shared-types.md
/// <seealso href="https://github.com/natemcmaster/DotNetCorePlugins/blob/main/docs/what-are-shared-types.md">
/// https://github.com/natemcmaster/DotNetCorePlugins/blob/main/docs/what-are-shared-types.md
/// </seealso>
/// </para>
/// </param>
Expand Down

0 comments on commit 7bf4d79

Please sign in to comment.