We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 412df60 commit 055f028Copy full SHA for 055f028
build/nuke/Build.Native.cs
@@ -256,7 +256,8 @@ void PrUpdatedNativeBinary(string name)
256
var curCommit = GitCurrentCommit(RootDirectory);
257
Git($"commit -m \"New binaries for {name} on {RuntimeInformation.OSDescription}\"");
258
// ensure there are no other changes
259
- Git("checkout HEAD", RootDirectory);
+ Git("checkout HEAD .nuke/", RootDirectory);
260
+ Git("reset --hard", RootDirectory);
261
if (GitCurrentCommit(RootDirectory) != curCommit) // might get "nothing to commit", you never know...
262
{
263
Logger.Info("Checking for existing branch...");
0 commit comments