From 148a3208b7763832d3465dab16ebac741e44be5b Mon Sep 17 00:00:00 2001 From: Abdulkareem Siddiq Date: Tue, 7 Sep 2021 22:50:05 -0700 Subject: [PATCH] Updated the pipelines to release on push. Minor fix to the index.md to fix the render of the sample output. --- azure-pipelines.yml | 15 +++++++++++++++ docs/index.md | 12 +++++++----- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c7412e6..04136e5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -88,3 +88,18 @@ steps: packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg;build/*.nupkg;!build/*symbols.nupkg' nuGetFeedType: 'external' publishFeedCredentials: 'sqs-nuget' + +- task: GitHubRelease@1 + inputs: + gitHubConnection: 'github-packages-sqs' + repositoryName: 'SiddiqSoft/SplitUri' + action: 'create' + target: '$(Build.SourceVersion)' + tagSource: 'userSpecifiedTag' + tag: '$(build.buildNumber)' + title: 'v$(build.buildNumber)' + releaseNotesSource: 'inline' + isPreRelease: true + changeLogCompareToRelease: 'lastFullRelease' + changeLogType: 'commitBased' + condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main')) diff --git a/docs/index.md b/docs/index.md index 17107ef..dbd02a5 100644 --- a/docs/index.md +++ b/docs/index.md @@ -168,10 +168,12 @@ Variable | Description ### Signature ```cpp -enum class UriScheme -{ - WebHttp, WebHttps, Ldap, Mailto, News, Tel, Telnet, Urn, Unknown -}; + enum class UriScheme + { + WebHttp, WebHttps, + Ldap, Mailto, News, Tel, Telnet, Urn, // Not supported + Unknown + }; ```
@@ -238,7 +240,7 @@ std::cerr << std::format("{}", u) << std::endl; And the corresponding output -```json +``` www.google.com 443 /search?flag&q=siddiqsoft#v1