Skip to content

Commit

Permalink
Rename tool to sponsors (plural)
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Jun 14, 2024
1 parent 28747e8 commit a23e358
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/Cli/Cli.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<AssemblyName>sponsor</AssemblyName>
<AssemblyName>sponsors</AssemblyName>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<PackageId>dotnet-sponsor</PackageId>
<ToolCommandName>sponsor</ToolCommandName>
<PackageId>dotnet-sponsors</PackageId>
<ToolCommandName>sponsors</ToolCommandName>
<RollForward>Major</RollForward>
<PackAsTool>true</PackAsTool>
<PackContent>false</PackContent>
Expand Down
8 changes: 4 additions & 4 deletions src/Commands/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -261,19 +261,19 @@ Code for the backend and this app are [link=https://www.devlooped.com/SponsorLin
<value>:check_mark_button: [lime]{sponsorable}[/]: manifest is valid, expires [yellow]{date}[/] [dim](roles: {roles})[/]</value>
</data>
<data name="Validate_InvalidExpired" xml:space="preserve">
<value>:cross_mark: [lime]{sponsorable}[/]: manifest expired {date}. Run [yellow]gh sponsors sync[/] to generate a new one.</value>
<value>:cross_mark: [lime]{sponsorable}[/]: manifest expired {date}. Run [yellow]sponsors sync[/] to generate a new one.</value>
</data>
<data name="Validate_InvalidPublicKey" xml:space="preserve">
<value>:cross_mark: [lime]{sponsorable}[/]: invalid public key (JWK) provided by issuer</value>
</data>
<data name="Validate_InvalidSignature" xml:space="preserve">
<value>:cross_mark: [lime]{sponsorable}[/]: manifest signature is invalid. Run [yellow]gh sponsors sync[/] to generate a new one</value>
<value>:cross_mark: [lime]{sponsorable}[/]: manifest signature is invalid. Run [yellow]sponsors sync[/] to generate a new one</value>
</data>
<data name="Validate_Invalid" xml:space="preserve">
<value>:cross_mark: [lime]{sponsorable}[/]: manifest is invalid. Run [yellow]gh sponsors sync[/] to generate a new one</value>
<value>:cross_mark: [lime]{sponsorable}[/]: manifest is invalid. Run [yellow]sponsors sync[/] to generate a new one</value>
</data>
<data name="Sync_UnattendedWithInteractiveAuth" xml:space="preserve">
<value>[lime]?[/] Sponsors account [yellow]{account}[/] requires [link=https://www.devlooped.com/SponsorLink/github.html#authentication][blue]interactive authentication[/][/] for synchronization. Please run [yellow]gh sponsors sync {account}[/] interactively.</value>
<value>[lime]?[/] Sponsors account [yellow]{account}[/] requires [link=https://www.devlooped.com/SponsorLink/github.html#authentication][blue]interactive authentication[/][/] for synchronization. Please run [yellow]sponsors sync {account}[/] interactively.</value>
</data>
<data name="Remove_AllOrSponsorable" xml:space="preserve">
<value>Either specify accounts to remove or use --all to remove all manifests.</value>
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/SyncCommandTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public async Task ExplicitSponsorableSync_NonSponsoringUser()
var settings = new SyncCommand.SyncSettings
{
Sponsorable = ["devlooped"],
// NOTE: requires prior running of the `gh sponsors sync --namespace nonsponsoring` command for interactive auth.
// NOTE: requires prior running of the `sponsors sync --namespace nonsponsoring` command for interactive auth.
Namespace = "nonsponsoring",
Unattended = true,
};
Expand Down
2 changes: 1 addition & 1 deletion src/Web/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ static void Main(string[] args)
if (string.IsNullOrEmpty(options.Value.PrivateKey))
throw new InvalidOperationException($"Missing required configuration 'SponsorLink:{nameof(SponsorLinkOptions.PrivateKey)}'");

// The key (as well as the yaml manifest) can be generated using gh sponsors init
// The key (as well as the yaml manifest) can be generated using sponsors init
// Install with: gh extension install devlooped/gh-sponsors
// See: https://github.com/devlooped/gh-sponsors
var rsa = RSA.Create();
Expand Down

0 comments on commit a23e358

Please sign in to comment.