cake-build/cake-rider

Creating releasenotes fails

Closed this issue · 0 comments

========================================
Create-Release-Notes
========================================
Executing: "C:/Program Files/dotnet/dotnet.exe" "C:/Users/nils/.nuget/packages/cake.tool/1.3.0/tools/net6.0/any/Cake.dll" "C:/_dev/cake/cake-build/cake-rider/8e764463-8b4e-4176-b064-c30ca9cca07b.cake"
Tool GitReleaseManager.Tool is already installed, with required version.
Executing: "C:/_dev/cake/cake-build/cake-rider/.cake/dotnet-gitreleasemanager.exe" create --token "[REDACTED]" -o "cake-build" -r "Cake-Rider" -m "8.0.2" -n "8.0.2" -c "master"

   ____ _ _   ____      _                     __  __
  / ___(_) |_|  _ \ ___| | ___  __ _ ___  ___|  \/  | __ _ _ __   __ _  __ _  ___ _ __
 | |  _| | __| |_) / _ \ |/ _ \/ _` / __|/ _ \ |\/| |/ _` | '_ \ / _` |/ _` |/ _ \ '__|
 | |_| | | |_|  _ <  __/ |  __/ (_| \__ \  __/ |  | | (_| | | | | (_| | (_| |  __/ |
  \____|_|\__|_| \_\___|_|\___|\__,_|___/\___|_|  |_|\__,_|_| |_|\__,_|\__, |\___|_|
                                                                       |___/
                                                                                 0.11.0

Creating release...
Using GitHub as VCS Provider
[WRN] No valid version was found on vNext
[FTL] Value was either too large or too small for an Int32.
System.OverflowException: Value was either too large or too small for an Int32.
   at System.Convert.ThrowInt32OverflowException()
   at System.Convert.ToInt32(Int64 value)
   at System.Int64.System.IConvertible.ToInt32(IFormatProvider provider)
   at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
   at Octokit.PocoJsonSerializerStrategy.DeserializeObject(Object value, Type type) in /Users/shiftkey/src/octokit.net/Octokit/SimpleJson.cs:line 1441
   at Octokit.Internal.SimpleJsonSerializer.GitHubSerializerStrategy.DeserializeObject(Object value, Type type) in /Users/shiftkey/src/octokit.net/Octokit/Http/SimpleJsonSerializer.cs:line 193
   at Octokit.PocoJsonSerializerStrategy.DeserializeObject(Object value, Type type) in /Users/shiftkey/src/octokit.net/Octokit/SimpleJson.cs:line 1494
   at Octokit.Internal.SimpleJsonSerializer.GitHubSerializerStrategy.DeserializeObject(Object value, Type type) in /Users/shiftkey/src/octokit.net/Octokit/Http/SimpleJsonSerializer.cs:line 193
   at Octokit.PocoJsonSerializerStrategy.DeserializeObject(Object value, Type type) in /Users/shiftkey/src/octokit.net/Octokit/SimpleJson.cs:line 1521
   at Octokit.Internal.SimpleJsonSerializer.GitHubSerializerStrategy.DeserializeObject(Object value, Type type) in /Users/shiftkey/src/octokit.net/Octokit/Http/SimpleJsonSerializer.cs:line 193
   at Octokit.SimpleJson.DeserializeObject(String json, Type type, IJsonSerializerStrategy jsonSerializerStrategy) in /Users/shiftkey/src/octokit.net/Octokit/SimpleJson.cs:line 590
   at Octokit.SimpleJson.DeserializeObject[T](String json, IJsonSerializerStrategy jsonSerializerStrategy) in /Users/shiftkey/src/octokit.net/Octokit/SimpleJson.cs:line 602
   at Octokit.Internal.SimpleJsonSerializer.Deserialize[T](String json) in /Users/shiftkey/src/octokit.net/Octokit/Http/SimpleJsonSerializer.cs:line 22
   at Octokit.Internal.JsonHttpPipeline.DeserializeResponse[T](IResponse response) in /Users/shiftkey/src/octokit.net/Octokit/Http/JsonHttpPipeline.cs:line 62
   at Octokit.Connection.Run[T](IRequest request, CancellationToken cancellationToken) in /Users/shiftkey/src/octokit.net/Octokit/Http/Connection.cs:line 627
   at Octokit.ApiConnection.GetPage[TU](Uri uri, IDictionary`2 parameters, String accepts, ApiOptions options) in /Users/shiftkey/src/octokit.net/Octokit/Http/ApiConnection.cs:line 607
   at Octokit.ApiConnection.<>c__DisplayClass17_0`1.<<GetAll>b__0>d.MoveNext() in /Users/shiftkey/src/octokit.net/Octokit/Http/ApiConnection.cs:line 197
--- End of stack trace from previous location where exception was thrown ---
   at Octokit.ApiPagination.GetAllPages[T](Func`1 getFirstPage, Uri uri)
   at GitReleaseManager.Core.OctokitExtensions.AllIssuesForMilestoneInternal(GitHubClient gitHubClient, Milestone milestone) in C:\projects\gitreleasemanager\Source\GitReleaseManager\OctokitExtensions.cs:line 79
   at GitReleaseManager.Core.GitHubProvider.GetIssuesAsync(Milestone targetMilestone) in C:\projects\gitreleasemanager\Source\GitReleaseManager\GitHubProvider.cs:line 65
   at GitReleaseManager.Core.ReleaseNotesBuilder.GetIssues(Milestone milestone) in C:\projects\gitreleasemanager\Source\GitReleaseManager\ReleaseNotesBuilder.cs:line 200
   at GitReleaseManager.Core.ReleaseNotesBuilder.BuildReleaseNotes() in C:\projects\gitreleasemanager\Source\GitReleaseManager\ReleaseNotesBuilder.cs:line 47
   at GitReleaseManager.Core.GitHubProvider.CreateReleaseFromMilestone(String owner, String repository, String milestone, String releaseName, String targetCommitish, IList`1 assets, Boolean prerelease) in C:\projects\gitreleasemanager\Source\GitReleaseManager\GitHubProvider.cs:line 143
   at GitReleaseManager.Cli.Program.CreateReleaseAsync(CreateSubOptions subOptions) in C:\projects\gitreleasemanager\Source\GitReleaseManager.Cli\Program.cs:line 164
   at GitReleaseManager.Cli.Program.Main(String[] args) in C:\projects\gitreleasemanager\Source\GitReleaseManager.Cli\Program.cs:line 41
An error occurred when executing task 'Create-Release-Notes'.