Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

Commit

Permalink
Prerelease v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthri authored Jun 7, 2023
2 parents 1559e1d + 7d0a48b commit 5e63217
Show file tree
Hide file tree
Showing 12 changed files with 119 additions and 20 deletions.
4 changes: 1 addition & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
* text=auto

*.sh text eol=lf
* text=auto eol=lf

*.cs text eol=crlf
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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).
7 changes: 7 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -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)
21 changes: 21 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/major_release_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!--
Release Description
-->

## 🆕 Features
<!--
- Added this
- Added that
-->

## 🐞 Fixes
<!--
- Fixed this
- Fixed that
- Fixed all of them
-->

## ❗ Breaking Changes
<!--
- `API.SendRequest` has been rewritten and its parameters have changed
-->
9 changes: 9 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/merge_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Description
<!-- A list of what the merge request changes. -->

## Intent
<!-- A summary of why the merge request should be merged. -->

## Additional Context
<!-- Additional information such as motivation or inspiration. -->
None.
16 changes: 16 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/minor_release_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!--
Release Description
-->

## 🆕 Features
<!--
- Added this
- Added that
-->

## 🐞 Fixes
<!--
- Fixed this
- Fixed that
- Fixed all of them
-->
10 changes: 10 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/patch_release_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!--
Release Description
-->

## 🐞 Fixes
<!--
- Fixed this
- Fixed that
- Fixed all of them
-->
21 changes: 21 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/prerelease_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!--
Prerelease Description
-->

## 🆕 Features
<!--
- Added this
- Added that
-->

## 🐞 Fixes
<!--
- Fixed this
- Fixed that
- Fixed all of them
-->

## ❗ Breaking Changes
<!--
- `API.SendRequest` has been rewritten and its parameters have changed
-->
13 changes: 9 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
name: Deploy

on:
push:
branches:
- release/nuget
release:
types:
- published

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 }}
with:
changelog: ${{ github.event.release.body }}
version: ${{ github.event.release.tag_name }}
18 changes: 18 additions & 0 deletions .github/workflows/release_request.yml
Original file line number Diff line number Diff line change
@@ -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
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -25,7 +28,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)
Expand Down
13 changes: 2 additions & 11 deletions src/Belp.SDK.Common/Belp.SDK.Common.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
<Project Sdk="Belp.SDK.PackOnly/0.1.0">

<Import Project="Assets/Sdk/Sdk.props" />



<!-- Package Information -->
<PropertyGroup>
<Authors>Arthri</Authors>
Expand All @@ -17,15 +13,14 @@
<Product>Belp</Product>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<Title>Belp Common SDK</Title>
<Version>0.1.0.0</Version>
</PropertyGroup>



<!-- Package Assets Configuration -->
<ItemGroup>
<None Include="Assets\**\*" Pack="true" PackagePath="/" />
<None Include="../../README.md" Pack="true" PackagePath="/" />
<None Include="Assets\**\*" Pack="true" PackagePath="\" />
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>


Expand All @@ -38,8 +33,4 @@
</PackageReference>
</ItemGroup>



<Import Project="Assets/Sdk/Sdk.targets" />

</Project>

0 comments on commit 5e63217

Please sign in to comment.