-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing github release for 6.1.0 #2800
Comments
@NogginBops I know Line 480 in b585605
--skip-duplicate in dotnet nuget push But it did not work the same. So now I have 2 release pipelines crashed:
If you can help I'll appreciate |
The other question is will the first release pipeline pick up the changes pushed to main if rerun? |
I'm not very familiar with the github actions setup in this repo, my guess is that the best course of action is probably to manually add the GitHub release to match the nuget release. Then fixing/understanding the action and the failure can be understood and a new potentially fixed nuget package can be released (and the old nuget package can be unlisted or deprecated if necessary.) I could potentially look into the GitHub actions tomorrow and see if I can make sense of anything enough to be helpful. |
No new package needs to be release. Just fix skipping pushing the same version of the package |
So we fixed skipping NuGet now we have issue with authectication to publish docs. |
Is it worth trying to publish the docs with a specific github action rather than doing it manually in the fsx script? |
I would prefer fixing the pipeline |
Ok, the github pages part has worked now, but it's failed at the next step with
instead :-( |
Not sure if this is it, but it looks like the Release.Id property was changed from an int to a long in octokit/octokit.net#2941 |
Approved PR, waiting for build to complete |
And now it seems to have failed because the previous run successfully pushed a build to Chocolately, and you can't do that twice for the same version :-( |
Skip needed again 😄 |
I don't an 'ignore duplicates' type option in the |
For NuGet it just wraps code in try-with. And if skip flag, then ignore exception |
I hope it is the last piece to fix release pipeline |
I can try something like Numpsy@07ac987 which might avoid the immediate failure, but the choco docs only list processes exit codes of 0/1 so I don't know how to determine if the error was a conflict or not other than trying to look at the |
… is `true` (#2809) refs #2800 (comment) and following comments. This was an attempt at getting the release build to work by ignoring the 'version already exists' error that it's getting when trying to push a build to Chocolately with a version number that already exists. The issue is that it doesn't seem to have much context about what caused the error, so just ignoring all errors would ignore failures for other reasons as well.
Looks like the latest attempt has failed because it tried to create a 6.1.0 git tag, and one already exists :-( |
Something new now |
Hmm, that's back to what #2808 was intended to fix (The release id is a long instead of Int32 now, and something seems to be getting confused somewhere) |
Could it be that build.fsx is downloading the latest version of Octokit (13), and calling it via the old release of Fake.Api.GitHub rather than the version currently being built (and then the mismatch upsets things)? |
Hurrah, finally a successful release build, and the 6.1.0 release is listed now |
I would prefer 6.1.1 asap because it would unblock some net8 migration issues. I don't really care "should we include one more PR or not", as the currently merged PRs already solve the issues (as I tested merged version directly locally). |
Might be useful to do a quick release to fix #2803 if people are trying to use it with the .NET 9 previews and that helps to get that tested |
Released |
Description
The 6.1.0 nuget package has been released without a matching GitHub release tag.
This should probably be fixed, and even if the 6.1.0 nuget package is accidental a matching tag should probably be established anyway.
The text was updated successfully, but these errors were encountered: