-
-
Notifications
You must be signed in to change notification settings - Fork 688
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1412 from TelegramBots/develop
AuthHelpers.ParseValidateData, AnswerPreCheckoutQueryAsync and other stuff
- Loading branch information
Showing
12 changed files
with
130 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
trigger: | ||
batch: true | ||
branches: | ||
include: | ||
- master | ||
paths: | ||
exclude: | ||
- '.github' | ||
- docs | ||
- README.md | ||
- CHANGELOG.md | ||
- CONTRIBUTING.md | ||
|
||
pr: none | ||
|
||
variables: | ||
- template: variables.yml | ||
|
||
pool: | ||
vmImage: $(vmImage) | ||
|
||
steps: | ||
- task: UseDotNet@2 | ||
displayName: Install .NET sdk | ||
inputs: | ||
packageType: sdk | ||
version: $(netSdkVersion) | ||
- pwsh: > | ||
dotnet build | ||
--configuration $(buildConfiguration) | ||
-p:Version=$(releaseVersion) | ||
$(projectPath) | ||
displayName: Build project with release version | ||
- pwsh: > | ||
dotnet pack | ||
--no-build | ||
--output "$(Build.ArtifactStagingDirectory)/packages" | ||
--configuration $(buildConfiguration) | ||
-p:Version=$(releaseVersion) | ||
$(projectPath) | ||
displayName: Create nuget package | ||
- task: NuGetAuthenticate@1 | ||
- pwsh: > | ||
dotnet nuget push | ||
$(Build.ArtifactStagingDirectory)/packages/*.nupkg | ||
--skip-duplicate | ||
--source https://pkgs.dev.azure.com/tgbots/Telegram.Bot/_packaging/release/nuget/v3/index.json | ||
--api-key AZ | ||
displayName: Publish package to NuGet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/Telegram.Bot/Requests/Available methods/CreateChatSubscriptionInviteLinkRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters