diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index 3a87d30..03bf0bc 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -6,6 +6,5 @@ Fixes:
- Item 3
## PR Checklist
-- [ ] Update package version
-- [ ] Update CHANGELOG.md
+- [ ] Update package version and release notes
- [ ] Tests and documentation
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
deleted file mode 100644
index f2f4ffe..0000000
--- a/CHANGELOG.md
+++ /dev/null
@@ -1,11 +0,0 @@
-.NET library for TOTP/HOTP implementation on server (ASP.NET) or client (Xamarin) side
-
-## Features
-- Generate and validate OTP codes
-- Support of [TOTP](https://en.wikipedia.org/wiki/Time-based_One-time_password) (RFC 6238) and [HOTP](https://en.wikipedia.org/wiki/HMAC-based_one-time_password) (RFC 4226) algorithms
-- Support of HMAC-SHA1, HMAC-SHA256 and HMAC-SHA512 hashing algorithms
-- Setup URI parser
-- Database-ready configuration models
-- Configuration generator for server-side implementation
-- QR code generator
-- No dependencies
\ No newline at end of file
diff --git a/SimpleOTP/SimpleOTP.csproj b/SimpleOTP/SimpleOTP.csproj
index 9b81df4..852f9f7 100644
--- a/SimpleOTP/SimpleOTP.csproj
+++ b/SimpleOTP/SimpleOTP.csproj
@@ -21,6 +21,17 @@
https://github.com/XFox111/SimpleOTP
en-US
otp;totp;dotnet;hotp;authenticator;2fa;mfa;security;oath
+ .NET library for TOTP/HOTP implementation on server (ASP.NET) or client (Xamarin) side
+
+Features
+- Generate and validate OTP codes
+- Support of TOTP (RFC 6238) and HOTP (RFC 4226) algorithms
+- Support of HMAC-SHA1, HMAC-SHA256 and HMAC-SHA512 hashing algorithms
+- Setup URI parser
+- Database-ready configuration models
+- Configuration generator for server-side implementation
+- QR code generator
+- No dependencies
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 7d7fa8e..c694c40 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -4,7 +4,7 @@ trigger:
- master
paths:
include:
- - CHANGELOG.md
+ - SimpleOTP/**
pool:
vmImage: 'windows-latest'
@@ -50,8 +50,17 @@ steps:
searchFolder: '$(System.DefaultWorkingDirectory)'
codeCoverageEnabled: true
+- task: PowerShell@2
+ displayName: 'Copy changelog'
+ inputs:
+ targetType: 'inline'
+ script: |
+ New-Item $(Build.ArtifactStagingDirectory)\Changelog.md
+ (Select-Xml -Path SimpleOTP.csproj -XPath /Project/PropertyGroup/PackageReleaseNotes | Select-Object -ExpandProperty Node).InnerText | Set-Content $(Build.ArtifactStagingDirectory)\changelog.md -Encoding UTF8
+ workingDirectory: '$(Build.SourcesDirectory)\SimpleOTP'
+
- task: CopyFiles@2
- displayName: 'Copy file to staging'
+ displayName: 'Copy package to staging'
inputs:
SourceFolder: '$(System.DefaultWorkingDirectory)'
Contents: '**/Release/**/*.nupkg'
@@ -63,4 +72,4 @@ steps:
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: 'Artifacts'
- publishLocation: 'Container'
+ publishLocation: 'Container'
\ No newline at end of file