Skip to content

Commit c5fd227

Browse files
Fix DocsUpdate
1 parent 210020d commit c5fd227

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/BenchmarkDotNet.Build/ChangeLogBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ private async Task<string> Build()
5858
{
5959
var (currentVersion, previousVersion, lastCommit) = config;
6060
if (string.IsNullOrEmpty(lastCommit))
61-
lastCommit = currentVersion;
61+
lastCommit = $"v{currentVersion}";
6262

6363
var client = new GitHubClient(new ProductHeaderValue(GitHubCredentials.ProductHeader));
6464
var tokenAuth = new Credentials(GitHubCredentials.Token);
@@ -182,7 +182,7 @@ public static async Task Run(DirectoryPath path, string currentVersion, string p
182182
{
183183
var config = new Config(currentVersion, previousVersion, lastCommit);
184184
var releaseNotes = await MarkdownBuilder.Build(config);
185-
await File.WriteAllTextAsync(path.Combine(config.CurrentVersion + ".md").FullPath, releaseNotes);
185+
await File.WriteAllTextAsync(path.Combine($"v{config.CurrentVersion}.md").FullPath, releaseNotes);
186186
}
187187
catch (Exception e)
188188
{

0 commit comments

Comments
 (0)