Skip to content

Commit f0a172a

Browse files
authored
GCM 2.3.2 (#1380)
**Changes:** - Catch unhandled Trace2 exception when writing to a file (#1378)
2 parents 8064e2e + 0e54a3e commit f0a172a

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,7 @@ jobs:
749749
...releaseMetadata,
750750
draft: true,
751751
tag_name: tagName,
752+
tag_commitish: context.sha,
752753
name: `GCM ${version}`
753754
});
754755
releaseMetadata.release_id = createdRelease.data.id;

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.1.0
1+
2.3.2.0

src/shared/Core/Trace2FileWriter.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,10 @@ public override void Write(Trace2Message message)
3131
// Windows and the file is currently open for writing
3232
// by another process (likely Git itself.)
3333
}
34+
catch (IOException)
35+
{
36+
// Do nothing, as this likely means that the file is currently
37+
// open by another process (on Windows).
38+
}
3439
}
3540
}

0 commit comments

Comments
 (0)