Skip to content

Commit

Permalink
Renaming for release (#7)
Browse files Browse the repository at this point in the history
* Renaming for release

* Rename project files
  • Loading branch information
shibayan authored Nov 13, 2021
1 parent 27b27b8 commit 6303f2b
Show file tree
Hide file tree
Showing 20 changed files with 24 additions and 23 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}

- name: Publish Application
run: dotnet publish ReverseProxy/ReverseProxy.csproj -c Release -o ./publish -p:Version=${{ steps.setup_version.outputs.VERSION }}
run: dotnet publish AppServiceProxy/AppServiceProxy.csproj -c Release -o ./publish -p:Version=${{ steps.setup_version.outputs.VERSION }}

- name: Build NuGet package
run: nuget pack .\ReverseProxy.nuspec -BasePath .\publish -OutputDirectory .\dist -Version ${{ steps.setup_version.outputs.VERSION }}
run: nuget pack .\AppServiceProxy.nuspec -BasePath .\publish -OutputDirectory .\dist -Version ${{ steps.setup_version.outputs.VERSION }}

- name: Push NuGet Package
run: dotnet nuget push dist/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\ReverseProxy\ReverseProxy.csproj" />
<ProjectReference Include="..\AppServiceProxy\AppServiceProxy.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using ReverseProxy.Configuration;
using AppServiceProxy.Configuration;

using Xunit;

namespace ReverseProxy.Tests
namespace AppServiceProxy.Tests
{
public class ProxiesJsonReaderTests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using System;

using ReverseProxy.Configuration;
using AppServiceProxy.Configuration;

using Xunit;

namespace ReverseProxy.Tests
namespace AppServiceProxy.Tests
{
public class ProxiesJsonTransformTests
{
Expand Down
4 changes: 2 additions & 2 deletions ReverseProxy.nuspec → AppServiceProxy.nuspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>ReverseProxy.SiteExtension</id>
<id>AppServiceProxy.SiteExtension</id>
<title>App Service Reverse Proxy Site Extension</title>
<version>1.0.0</version>
<authors>shibayan</authors>
<license type="expression">MIT</license>
<repository type="git" url="https://github.com/shibayan/ReverseProxy.SiteExtension" />
<repository type="git" url="https://github.com/shibayan/AppServiceProxy.SiteExtension" />
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Reverse Proxy for Azure App Service</description>
<tags>AzureSiteExtension</tags>
Expand Down
4 changes: 2 additions & 2 deletions ReverseProxy.sln → AppServiceProxy.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31825.309
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ReverseProxy", "ReverseProxy\ReverseProxy.csproj", "{B0339C48-EF5D-4E39-96D5-DA36067CF0F4}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AppServiceProxy", "AppServiceProxy\AppServiceProxy.csproj", "{B0339C48-EF5D-4E39-96D5-DA36067CF0F4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReverseProxy.Tests", "ReverseProxy.Tests\ReverseProxy.Tests.csproj", "{31892171-8878-4190-95D0-F2EE9BBE20AF}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppServiceProxy.Tests", "AppServiceProxy.Tests\AppServiceProxy.Tests.csproj", "{31892171-8878-4190-95D0-F2EE9BBE20AF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions AppServiceProxy/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
using System.Runtime.CompilerServices;

[assembly: InternalsVisibleTo("AppServiceProxy.Tests")]
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ReverseProxy.Configuration
namespace AppServiceProxy.Configuration
{
internal class ProxiesJson
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
using Microsoft.Extensions.FileProviders;

using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Primitives;

using Yarp.ReverseProxy.Configuration;

namespace ReverseProxy.Configuration
namespace AppServiceProxy.Configuration
{
internal class ProxiesJsonFileConfigProvider : IProxyConfigProvider
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.Text.Json;

using static ReverseProxy.Configuration.ProxiesJson;
using static AppServiceProxy.Configuration.ProxiesJson;

namespace ReverseProxy.Configuration
namespace AppServiceProxy.Configuration
{
internal class ProxiesJsonReader
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

using Yarp.ReverseProxy.Configuration;

using static ReverseProxy.Configuration.ProxiesJson;
using static AppServiceProxy.Configuration.ProxiesJson;

namespace ReverseProxy.Configuration
namespace AppServiceProxy.Configuration
{
internal static class ProxiesJsonTransform
{
Expand Down
2 changes: 1 addition & 1 deletion ReverseProxy/Program.cs → AppServiceProxy/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using ReverseProxy.Configuration;
using AppServiceProxy.Configuration;

using Yarp.ReverseProxy.Configuration;

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# ReverseProxy.SiteExtension
# AppServiceProxy.SiteExtension

3 changes: 0 additions & 3 deletions ReverseProxy/AssemblyInfo.cs

This file was deleted.

0 comments on commit 6303f2b

Please sign in to comment.