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
var commitSha = client.Repository.GetBranch(
GetSetting(GitHubItSettingKeys.RepositoryOwner),
GetSetting(GitHubItSettingKeys.RepositoryName),
branchId)
.Result.Commit.Sha;
var sources = client.Repository.Content.GetArchive(
GetSetting(GitHubItSettingKeys.RepositoryOwner),
GetSetting(GitHubItSettingKeys.RepositoryName),
ArchiveFormat.Zipball,
commitSha)
.Result;
and branchId is different from master then I always get sources from master branch.
This behavior started from version 0.16 and till now. Version 0.15 gets correct result
The text was updated successfully, but these errors were encountered:
In the meantime you should be able to use the overload that takes an additional TimeSpan argument (pass in 60 minutes if you want the same behaviour as the overload you are wanting to use), to work around the issue.
Added the easy-fix label as I think this is good for someone new to contribute. I'd also like to see a unit test for this to verify that we're passing through the right value.
If I use the following code:
and branchId is different from master then I always get sources from master branch.
This behavior started from version 0.16 and till now. Version 0.15 gets correct result
The text was updated successfully, but these errors were encountered: