From e9082a17314a7b0370fbfc5269ca3036af2f0710 Mon Sep 17 00:00:00 2001
From: Arthri <41360489+a@users.noreply.github.com>
Date: Mon, 8 May 2023 09:05:53 +0000
Subject: [PATCH 01/15] Deploy on release publish instead of release/nuget push
---
.github/workflows/deploy.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 5e6b328..b3d5ec5 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -1,9 +1,9 @@
name: Deploy
on:
- push:
- branches:
- - release/nuget
+ release:
+ types:
+ - published
jobs:
deploy:
From 7385365857d80b09d3de9617a46ed19321bd57dc Mon Sep 17 00:00:00 2001
From: Arthri <41360489+a@users.noreply.github.com>
Date: Mon, 8 May 2023 09:07:06 +0000
Subject: [PATCH 02/15] Add version and changelog to deploy workflow
---
.github/workflows/deploy.yml | 5 ++++-
src/Belp.SDK.Common/Belp.SDK.Common.csproj | 1 -
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index b3d5ec5..83efa9f 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -7,4 +7,7 @@ on:
jobs:
deploy:
- uses: Arthri/deploy_nuget/.github/workflows/deploy.yml@v1
\ No newline at end of file
+ uses: Arthri/deploy_nuget/.github/workflows/deploy.yml@v1
+ with:
+ changelog: ${{ github.event.release.body }}
+ version: ${{ github.event.release.tag_name }}
diff --git a/src/Belp.SDK.Common/Belp.SDK.Common.csproj b/src/Belp.SDK.Common/Belp.SDK.Common.csproj
index 02d60cb..40aa036 100644
--- a/src/Belp.SDK.Common/Belp.SDK.Common.csproj
+++ b/src/Belp.SDK.Common/Belp.SDK.Common.csproj
@@ -17,7 +17,6 @@
Belp
true
Belp Common SDK
- 0.1.0.0
From f784fedc1aaad43460d9a0a13f6ec5498a483b67 Mon Sep 17 00:00:00 2001
From: Arthri <41360489+a@users.noreply.github.com>
Date: Mon, 8 May 2023 09:07:18 +0000
Subject: [PATCH 03/15] Add release request workflow
---
.github/workflows/release_request.yml | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 .github/workflows/release_request.yml
diff --git a/.github/workflows/release_request.yml b/.github/workflows/release_request.yml
new file mode 100644
index 0000000..c885408
--- /dev/null
+++ b/.github/workflows/release_request.yml
@@ -0,0 +1,18 @@
+name: Release Request
+run-name: Release Request
+
+on:
+ pull_request:
+ types:
+ - closed
+ - edited
+ - opened
+ branches:
+ - master
+
+jobs:
+ 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
From 6d2c909cdc82a260633e50e02e81847fa431c1fd Mon Sep 17 00:00:00 2001
From: Arthri <41360489+a@users.noreply.github.com>
Date: Mon, 22 May 2023 08:55:21 +0000
Subject: [PATCH 04/15] Set all text to LF by default
---
.gitattributes | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/.gitattributes b/.gitattributes
index 59761be..c912d74 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,5 +1,3 @@
-* text=auto
-
-*.sh text eol=lf
+* text=auto eol=lf
*.cs text eol=crlf
From c02dd697d9f9902be91649e5a5ce13f86a17f4d1 Mon Sep 17 00:00:00 2001
From: Arthri <41360489+a@users.noreply.github.com>
Date: Mon, 22 May 2023 08:55:34 +0000
Subject: [PATCH 05/15] Update issue templates
---
.github/ISSUE_TEMPLATE/bug_report.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index 753ac6e..ee8b2a5 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -53,4 +53,4 @@ body:
- type: textarea
attributes:
label: Additional Context
- description: Add any other context about the problem here.
+ description: Add any other context about the problem here(such as a repository).
From 2bf83226013374a2283f9cf515a273167e720315 Mon Sep 17 00:00:00 2001
From: Arthri <41360489+a@users.noreply.github.com>
Date: Mon, 22 May 2023 08:55:39 +0000
Subject: [PATCH 06/15] Add pull request templates
---
.github/PULL_REQUEST_TEMPLATE.md | 7 +++++++
.../major_release_request.md | 21 +++++++++++++++++++
.../PULL_REQUEST_TEMPLATE/merge_request.md | 9 ++++++++
.../minor_release_request.md | 16 ++++++++++++++
.../patch_release_request.md | 10 +++++++++
.../prerelease_request.md | 21 +++++++++++++++++++
6 files changed, 84 insertions(+)
create mode 100644 .github/PULL_REQUEST_TEMPLATE.md
create mode 100644 .github/PULL_REQUEST_TEMPLATE/major_release_request.md
create mode 100644 .github/PULL_REQUEST_TEMPLATE/merge_request.md
create mode 100644 .github/PULL_REQUEST_TEMPLATE/minor_release_request.md
create mode 100644 .github/PULL_REQUEST_TEMPLATE/patch_release_request.md
create mode 100644 .github/PULL_REQUEST_TEMPLATE/prerelease_request.md
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
new file mode 100644
index 0000000..a7e58b4
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,7 @@
+Click on the `Preview` tab and select a template:
+
+- [Merge Request](?expand=1&labels=triage&quick_pull=1&template=merge_request.md)
+- [Patch Release Request](?expand=1&labels=release,release%3Apatch&quick_pull=1&template=patch_release_request.md&title=Release%20vMajor.Minor.Patch%5B%20%7C%20Release%20Name%5D)
+- [Minor Release Request](?expand=1&labels=release,release%3Aminor&quick_pull=1&template=minor_release_request.md&title=Release%20vMajor.Minor.0%5B%20%7C%20Release%20Name%5D)
+- [Major Release Request](?expand=1&labels=release,release%3Amajor&quick_pull=1&template=major_release_request.md&title=Release%20vMajor.0.0%5B%20%7C%20Release%20Name%5D)
+- [Prerelease Request](?expand=1&labels=release,release%3Aprerelease&quick_pull=1&template=prerelease_request.md&title=Prerelease%20vMajor.Minor.Patch%5B-suffix%5D%5B%20%7C%20Release%20Name%5D)
diff --git a/.github/PULL_REQUEST_TEMPLATE/major_release_request.md b/.github/PULL_REQUEST_TEMPLATE/major_release_request.md
new file mode 100644
index 0000000..8ba4b4c
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE/major_release_request.md
@@ -0,0 +1,21 @@
+
+
+## 🆕 Features
+
+
+## 🐞 Fixes
+
+
+## ❗ Breaking Changes
+
diff --git a/.github/PULL_REQUEST_TEMPLATE/merge_request.md b/.github/PULL_REQUEST_TEMPLATE/merge_request.md
new file mode 100644
index 0000000..cd18b68
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE/merge_request.md
@@ -0,0 +1,9 @@
+## Description
+
+
+## Intent
+
+
+## Additional Context
+
+None.
diff --git a/.github/PULL_REQUEST_TEMPLATE/minor_release_request.md b/.github/PULL_REQUEST_TEMPLATE/minor_release_request.md
new file mode 100644
index 0000000..03665e3
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE/minor_release_request.md
@@ -0,0 +1,16 @@
+
+
+## 🆕 Features
+
+
+## 🐞 Fixes
+
diff --git a/.github/PULL_REQUEST_TEMPLATE/patch_release_request.md b/.github/PULL_REQUEST_TEMPLATE/patch_release_request.md
new file mode 100644
index 0000000..4c61c6a
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE/patch_release_request.md
@@ -0,0 +1,10 @@
+
+
+## 🐞 Fixes
+
diff --git a/.github/PULL_REQUEST_TEMPLATE/prerelease_request.md b/.github/PULL_REQUEST_TEMPLATE/prerelease_request.md
new file mode 100644
index 0000000..dd8bbba
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE/prerelease_request.md
@@ -0,0 +1,21 @@
+
+
+## 🆕 Features
+
+
+## 🐞 Fixes
+
+
+## ❗ Breaking Changes
+
From eb4f179002d1e30a5ce7825422429007b834771c Mon Sep 17 00:00:00 2001
From: Arthri <41360489+a@users.noreply.github.com>
Date: Wed, 24 May 2023 03:34:14 +0000
Subject: [PATCH 07/15] Fix typo `Prequisites` -> `Prerequisites`
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 95ff219..b3e5570 100644
--- a/README.md
+++ b/README.md
@@ -25,7 +25,7 @@ Run `dotnet build`, `dotnet pack`, `dotnet msbuild`, or other msbuild aliases wi
## Development
-### Prequisites
+### Prerequisites
- Install .NET 7.0 SDK version 7.0.100 or newer.
### Building (with Visual Studio)
From 844f75e401d3dd71dc03031615090bef2d43310c Mon Sep 17 00:00:00 2001
From: Arthri <41360489+a@users.noreply.github.com>
Date: Wed, 24 May 2023 03:36:52 +0000
Subject: [PATCH 08/15] Add note on importing SDK
---
README.md | 3 +++
1 file changed, 3 insertions(+)
diff --git a/README.md b/README.md
index b3e5570..1d48ba5 100644
--- a/README.md
+++ b/README.md
@@ -14,6 +14,9 @@ It is not recommended to install Belp.SDK.Common directly.
## Usage
+### Import SDK
+`Belp.SDK.Common` is additive and functions in conjunction with another SDK, such as `Microsoft.NET.Sdk`. It is recommended to import `Belp.SDK.Common`'s `Sdk.props` before any others, and import its `Sdk.targets` after all others.
+
### Test NuGet package locally
- Run `dotnet pack` with the `-p:DevelopmentNuGet=true` argument.
- Export or set the environment variable `DevelopmentNuGet` to true.
From eb21e8b58e6fda08d06568e7842f43f94860fcee Mon Sep 17 00:00:00 2001
From: Arthri <41360489+a@users.noreply.github.com>
Date: Wed, 24 May 2023 17:30:41 +0000
Subject: [PATCH 09/15] Fix secrets
---
.github/workflows/deploy.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 83efa9f..a110253 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -8,6 +8,8 @@ on:
jobs:
deploy:
uses: Arthri/deploy_nuget/.github/workflows/deploy.yml@v1
+ secrets:
+ NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
with:
changelog: ${{ github.event.release.body }}
version: ${{ github.event.release.tag_name }}
From b999f488cab4f076e90ebb3f06f789d5742abc87 Mon Sep 17 00:00:00 2001
From: Arthri <41360489+a@users.noreply.github.com>
Date: Wed, 24 May 2023 17:49:43 +0000
Subject: [PATCH 10/15] Update SDK and remove bootstrapper
---
src/Belp.SDK.Common/Belp.SDK.Common.csproj | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/src/Belp.SDK.Common/Belp.SDK.Common.csproj b/src/Belp.SDK.Common/Belp.SDK.Common.csproj
index 40aa036..9c71129 100644
--- a/src/Belp.SDK.Common/Belp.SDK.Common.csproj
+++ b/src/Belp.SDK.Common/Belp.SDK.Common.csproj
@@ -1,8 +1,4 @@
-
-
-
-
-
+
@@ -37,8 +33,4 @@
-
-
-
-
From 77609a5b4da3f116ec82e4254d64ae5c35fe1c43 Mon Sep 17 00:00:00 2001
From: Arthri <41360489+a@users.noreply.github.com>
Date: Sun, 28 May 2023 08:45:30 +0000
Subject: [PATCH 11/15] Use backslash instead of frontlash
---
src/Belp.SDK.Common/Belp.SDK.Common.csproj | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Belp.SDK.Common/Belp.SDK.Common.csproj b/src/Belp.SDK.Common/Belp.SDK.Common.csproj
index 9c71129..162e0f2 100644
--- a/src/Belp.SDK.Common/Belp.SDK.Common.csproj
+++ b/src/Belp.SDK.Common/Belp.SDK.Common.csproj
@@ -19,8 +19,8 @@
-
-
+
+
From ac599c36535109ce2dbbf2693bd826f84a908eb3 Mon Sep 17 00:00:00 2001
From: Arthri <41360489+a@users.noreply.github.com>
Date: Sun, 28 May 2023 08:46:20 +0000
Subject: [PATCH 12/15] Use
From b915a864b3f791ba2247974c505c280655ca61e3 Mon Sep 17 00:00:00 2001
From: Arthri <41360489+a@users.noreply.github.com>
Date: Sun, 28 May 2023 08:46:21 +0000
Subject: [PATCH 13/15] Use
From 85df87f0fcecfea746b335defe6cc0fa45f5fa00 Mon Sep 17 00:00:00 2001
From: Arthri <41360489+a@users.noreply.github.com>
Date: Sun, 28 May 2023 08:46:27 +0000
Subject: [PATCH 14/15] Use backslash instead of frontslash
From 7d0a48baf3fa62052abd1b52f540be39b41eaed5 Mon Sep 17 00:00:00 2001
From: Arthri <41360489+a@users.noreply.github.com>
Date: Wed, 7 Jun 2023 16:36:52 +0000
Subject: [PATCH 15/15] Downgrade Belp.SDK.PackOnly version
---
src/Belp.SDK.Common/Belp.SDK.Common.csproj | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Belp.SDK.Common/Belp.SDK.Common.csproj b/src/Belp.SDK.Common/Belp.SDK.Common.csproj
index 162e0f2..c108fdd 100644
--- a/src/Belp.SDK.Common/Belp.SDK.Common.csproj
+++ b/src/Belp.SDK.Common/Belp.SDK.Common.csproj
@@ -1,4 +1,4 @@
-
+