mirror of
https://github.com/XFox111/SimpleOTP.git
synced 2026-04-22 08:00:45 +03:00
Changelog moved and pipeline updated (#12)
This commit is contained in:
@@ -6,6 +6,5 @@ Fixes:
|
||||
- Item 3
|
||||
|
||||
## PR Checklist
|
||||
- [ ] Update package version
|
||||
- [ ] Update CHANGELOG.md
|
||||
- [ ] Update package version and release notes
|
||||
- [ ] Tests and documentation
|
||||
@@ -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
|
||||
@@ -21,6 +21,17 @@
|
||||
<RepositoryUrl>https://github.com/XFox111/SimpleOTP</RepositoryUrl>
|
||||
<NeutralLanguage>en-US</NeutralLanguage>
|
||||
<PackageTags>otp;totp;dotnet;hotp;authenticator;2fa;mfa;security;oath</PackageTags>
|
||||
<PackageReleaseNotes>.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</PackageReleaseNotes>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
|
||||
+11
-2
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user