-
Notifications
You must be signed in to change notification settings - Fork 155
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
Fallout from Paket and FAKE deletion #663
Comments
Have we also lost the |
Ah, is it the line in
That's alirght then. Push worked btw, I just pushed rc2. But I think I messed up the xunit dependency restriction. Luckily there is no v3 of xunit so no harm no foul, I hope. |
That's the line, yep. You'll want this:
in Directory.Packages.props. |
This always fails with "Forbidden". I've regenerated my token. It has I think the right permissions (see below). I set the token as env variable in exactly the same way as NUGET_KEY, which works. Clearly either my token is missing some permissions, or it's somehow not being passed correctly. I've checked the header and it looks fine, compared to the docs. https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28#create-a-release Any ideas?
|
Let me set up a toy repo and try it. |
Worked just now with a curl. So my token must be ok, it's just not being set in the header correctly somehow. |
Currently you're setting Authorization twice ( |
Yeah, did that, with that it didn't work at all. (See my commit on master just now). After that I get the Forbidden error. |
Fixed up the release manually for now, no rush. Stepping away from computer now for a while. |
Got it - I need to learn never to use anything other than I've raised the fix as #665 . |
From a quick look, this doesn't do what we want (i.e. read the release notes and pick up the version from there). It seems to require a separate json file with the verison in it. If that's the case, I'd prefer just keeping the fake dependency for this, I don't think it'll get in the way much. |
Fair enough! |
Oh nooooo, it looks like The failed process call (note that this is almost all a command line):
Stdout of
|
I'll put it in an env var instead. |
I can try to avoid commas in the release notes ;) |
On the plus side, Appveyor does now catch that error! https://ci.appveyor.com/project/kurtschelfthout/fscheck/builds/49266851 |
Oh my god, MsBuild itself appears to perform XML escaping on the ampersands I am trying to use to perform XML escaping. If we can get XML-escaped lines in there then they will correctly be shown in the release notes: But I can't get them in there. |
Gone with some truly amazing hacks (#672) |
(For after #662 because it will conflict.)
dotnet pack
will succeed. This should be a simple matter of adding the dependency fromCI
onPack
.WatchDocs
from printing out empty stdout every 10sbuild.fsx
dotnet pack
release notes need to be escaped or passed via other means (see latest AppVeyor builds)The text was updated successfully, but these errors were encountered: