You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After deleting build.fsx.lock (was so old it was not handling new MSBuild logs) and allowing FAKE to recreate it - uploading build artifacts to GitHub stopped working.
Something failed, trying again: System.MissingMethodException: Method not found: 'System.Threading.Tasks.Task`1<Octokit.ReleaseAsset> Octokit.IReleasesClient.UploadAsset(Octokit.Release, Octokit.ReleaseAssetUpload)'.
at [email protected](Unit unitVar)
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 386
at [email protected](AsyncActivation`1 ctxt) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 577
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 105
Something failed, trying again: System.MissingMethodException: Method not found: 'System.Threading.Tasks.Task`1<Octokit.ReleaseAsset> Octokit.IReleasesClient.UploadAsset(Octokit.Release, Octokit.ReleaseAssetUpload)'.
at [email protected](Unit unitVar)
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 386
at [email protected](AsyncActivation`1 ctxt) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 577
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 105
Something failed, trying again: System.MissingMethodException: Method not found: 'System.Threading.Tasks.Task`1<Octokit.ReleaseAsset> Octokit.IReleasesClient.UploadAsset(Octokit.Release, Octokit.ReleaseAssetUpload)'.
at [email protected](Unit unitVar)
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 386
at [email protected](AsyncActivation`1 ctxt) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 577
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 105
Something failed, trying again: System.MissingMethodException: Method not found: 'System.Threading.Tasks.Task`1<Octokit.ReleaseAsset> Octokit.IReleasesClient.UploadAsset(Octokit.Release, Octokit.ReleaseAssetUpload)'.
at [email protected](Unit unitVar)
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 386
at [email protected](AsyncActivation`1 ctxt) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 577
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 105
Something failed, trying again: System.MissingMethodException: Method not found: 'System.Threading.Tasks.Task`1<Octokit.ReleaseAsset> Octokit.IReleasesClient.UploadAsset(Octokit.Release, Octokit.ReleaseAssetUpload)'.
at [email protected](Unit unitVar)
at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 386
at [email protected](AsyncActivation`1 ctxt) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 577
at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 105
Expected behavior
Uploading files to github.
Actual behavior
Release is created but files are not updloaded.
Looks like Octokit.IReleasesClient.UploadAsset no longer exists.
Known workarounds
Forcing specific version of Octokit: nuget Octokit 0.48
Octokit has been updated to version 0.50 in FAKE and the UploadAsset API has been updated to match with Octokit's new API.
Can you please try one of the alpha releases and see if the issue still exists for you
Description
After deleting
build.fsx.lock
(was so old it was not handling new MSBuild logs) and allowing FAKE to recreate it - uploading build artifacts to GitHub stopped working.Repro steps
build.fsx.lock
build.fsx.lock
Expected behavior
Uploading files to github.
Actual behavior
Release is created but files are not updloaded.
Looks like
Octokit.IReleasesClient.UploadAsset
no longer exists.Known workarounds
Forcing specific version of Octokit:
nuget Octokit 0.48
Related information
build.fsx (without forced Octokit version)
The text was updated successfully, but these errors were encountered: