Skip to content

Commit d054496

Browse files
authored
Merge 8101d5e into 6cd12eb
2 parents 6cd12eb + 8101d5e commit d054496

4 files changed

Lines changed: 24 additions & 16 deletions

File tree

.github/pull_request_template.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ Fixes:
66
- Item 3
77

88
## PR Checklist
9-
- [ ] Update package version
10-
- [ ] Update CHANGELOG.md
9+
- [ ] Update package version and release notes
1110
- [ ] Tests and documentation

CHANGELOG.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

SimpleOTP/SimpleOTP.csproj

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@
2121
<RepositoryUrl>https://github.com/XFox111/SimpleOTP</RepositoryUrl>
2222
<NeutralLanguage>en-US</NeutralLanguage>
2323
<PackageTags>otp;totp;dotnet;hotp;authenticator;2fa;mfa;security;oath</PackageTags>
24+
<PackageReleaseNotes>.NET library for TOTP/HOTP implementation on server (ASP.NET) or client (Xamarin) side
25+
26+
Features
27+
- Generate and validate OTP codes
28+
- Support of TOTP (RFC 6238) and HOTP (RFC 4226) algorithms
29+
- Support of HMAC-SHA1, HMAC-SHA256 and HMAC-SHA512 hashing algorithms
30+
- Setup URI parser
31+
- Database-ready configuration models
32+
- Configuration generator for server-side implementation
33+
- QR code generator
34+
- No dependencies</PackageReleaseNotes>
2435
</PropertyGroup>
2536

2637
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

azure-pipelines.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ trigger:
44
- master
55
paths:
66
include:
7-
- CHANGELOG.md
7+
- SimpleOTP/**
88

99
pool:
1010
vmImage: 'windows-latest'
@@ -50,8 +50,17 @@ steps:
5050
searchFolder: '$(System.DefaultWorkingDirectory)'
5151
codeCoverageEnabled: true
5252

53+
- task: PowerShell@2
54+
displayName: 'Copy changelog'
55+
inputs:
56+
targetType: 'inline'
57+
script: |
58+
New-Item $(Build.ArtifactStagingDirectory)\Changelog.md
59+
(Select-Xml -Path SimpleOTP.csproj -XPath /Project/PropertyGroup/PackageReleaseNotes | Select-Object -ExpandProperty Node).InnerText | Set-Content $(Build.ArtifactStagingDirectory)\changelog.md -Encoding UTF8
60+
workingDirectory: '$(Build.SourcesDirectory)\SimpleOTP'
61+
5362
- task: CopyFiles@2
54-
displayName: 'Copy file to staging'
63+
displayName: 'Copy package to staging'
5564
inputs:
5665
SourceFolder: '$(System.DefaultWorkingDirectory)'
5766
Contents: '**/Release/**/*.nupkg'
@@ -63,4 +72,4 @@ steps:
6372
inputs:
6473
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
6574
ArtifactName: 'Artifacts'
66-
publishLocation: 'Container'
75+
publishLocation: 'Container'

0 commit comments

Comments
 (0)