diff --git a/.editorconfig b/.editorconfig
index 4504c27..00d4b13 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -5,7 +5,7 @@
indent_style = space
indent_size = 4
tab_width = 4
-end_of_line = crlf
+end_of_line = lf
charset = utf-8-bom
trim_trailing_whitespace = true
insert_final_newline = true
diff --git a/.gitattributes b/.gitattributes
index c912d74..6313b56 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,3 +1 @@
* text=auto eol=lf
-
-*.cs text eol=crlf
diff --git a/.github/workflows/check-eol.yml b/.github/workflows/check-eol.yml
new file mode 100644
index 0000000..20ec75b
--- /dev/null
+++ b/.github/workflows/check-eol.yml
@@ -0,0 +1,12 @@
+name: Check End-of-Line Sequences
+run-name: Check End-of-Line Sequences
+
+on:
+ push:
+ branches: [ master, dev ]
+ pull_request:
+ branches: [ master, dev ]
+
+jobs:
+ check-eol:
+ uses: Arthri/check-eol/.github/workflows/check-eol.yml@v1
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index a110253..b0000b1 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -7,9 +7,9 @@ on:
jobs:
deploy:
- uses: Arthri/deploy_nuget/.github/workflows/deploy.yml@v1
+ uses: Arthri/deploy-nuget/.github/workflows/deploy.yml@v1
secrets:
- NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
+ NUGET-API-KEY: ${{ secrets.NUGET_API_KEY }}
with:
changelog: ${{ github.event.release.body }}
version: ${{ github.event.release.tag_name }}
diff --git a/.github/workflows/release_request.yml b/.github/workflows/release-request.yml
similarity index 70%
rename from .github/workflows/release_request.yml
rename to .github/workflows/release-request.yml
index c885408..9b9dc83 100644
--- a/.github/workflows/release_request.yml
+++ b/.github/workflows/release-request.yml
@@ -6,13 +6,15 @@ on:
types:
- closed
- edited
+ - labeled
- opened
+ - unlabeled
branches:
- master
jobs:
- handle_release_request:
+ handle-release-request:
name: ${{ github.event.action == 'closed' && 'Resolve ' || 'Verify ' }}Release Request
permissions:
contents: write
- uses: Arthri/release_request/.github/workflows/release_request.yml@v1
+ uses: Arthri/release-request/.github/workflows/release-request.yml@v1
diff --git a/Belp.SDK.Common.sln b/Belp.SDK.Common.sln
index 5a1bd56..73b14bd 100644
--- a/Belp.SDK.Common.sln
+++ b/Belp.SDK.Common.sln
@@ -7,12 +7,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Belp.SDK.Common", "src\Belp
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {3C37E783-7F68-404D-BB6A-1A6C938B7E11}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3C37E783-7F68-404D-BB6A-1A6C938B7E11}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3C37E783-7F68-404D-BB6A-1A6C938B7E11}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3C37E783-7F68-404D-BB6A-1A6C938B7E11}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
diff --git a/README.md b/README.md
index 1d48ba5..fabd0c0 100644
--- a/README.md
+++ b/README.md
@@ -1,16 +1,19 @@
# Belp.SDK.Common
The base of all Belp SDKs: contains common features shared by Belp SDKs.
+> [!IMPORTANT]
+> Remaining code has been merged with Belp.SDK.Packinf and Belp.SDK.Common discontinued.
+
## Installation
It is not recommended to install Belp.SDK.Common directly.
### Requirements
- A project written in SDK-style. This includes any project for .NET Core(or newer) or .NET 5(or newer).
-### Install in Project Manually
+### Install using an Editor
1. Locate the project file(for example, `Project.csproj`, `Project.fsproj`).
1. Open the project file in an editor.
-1. Add the [``](https://learn.microsoft.com/en-us/visualstudio/msbuild/sdk-element-msbuild) element under the root `` element.
+1. Add a new `Sdk` element under the root `Project` element with the `Name` attribute set to `Belp.SDK.Common` and the `Version` attribute set to `1.0.0`. For example, ``.
## Usage
@@ -23,23 +26,20 @@ It is not recommended to install Belp.SDK.Common directly.
The NuGet package will be pushed to a source named `tmp`. If the source doesn't exist, create a new local NuGet source with `dotnet nuget add source --name tmp`.
-### Output Packed Package Path to GitHub Actions
-Run `dotnet build`, `dotnet pack`, `dotnet msbuild`, or other msbuild aliases with the `-p:BELP_EXPOSE_CI_VARIABLES=true` argument.
-
## Development
### Prerequisites
-- Install .NET 7.0 SDK version 7.0.100 or newer.
+- Install the .NET 7.0 SDK version 7.0.100 or newer.
-### Building (with Visual Studio)
+### Building with Visual Studio
1. Open `Belp.SDK.Common.sln`.
1. Open the Solution Explorer.
1. Right click on the project `Belp.SDK.Common` in the Solution Explorer.
1. Click on `Pack`.
-### Building (with .NET CLI)
+### Building with .NET CLI
1. Open a terminal in the repository root.
1. Run `dotnet pack`
### Output
-The output is located in `src/Belp.SDK.Common/Belp.SDK.Common/bin/`.
+By default, the output is located in `src/Belp.SDK.Common/Belp.SDK.Common/bin/Release/`.
diff --git a/src/Belp.SDK.Common/Assets/lib/netstandard2.0/_._ b/src/Belp.SDK.Common/Assets/lib/netstandard2.0/_._
deleted file mode 100644
index e69de29..0000000
diff --git a/src/Belp.SDK.Common/Belp.SDK.Common.csproj b/src/Belp.SDK.Common/Belp.SDK.Common.csproj
index c108fdd..63345ce 100644
--- a/src/Belp.SDK.Common/Belp.SDK.Common.csproj
+++ b/src/Belp.SDK.Common/Belp.SDK.Common.csproj
@@ -1,26 +1,19 @@
-
+
- Arthri
- Copyright © 2023 Arthri
The base of all Belp SDKs: contains common features shared by Belp SDKs.
true
MIT
https://github.com/Arthri/Belp.SDK.Common/
- README.md
msbuild;sdk
Belp
true
Belp Common SDK
-
-
-
-
-
+