Skip to content

Commit

Permalink
Ensure release creation targets the correct SHA on GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
hach-que committed Oct 31, 2024
1 parent edfa8a9 commit cb6bb52
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,10 @@ public async Task CreateVersionReleaseAsync(InvocationContext context, string ve
{
TagName = "latest",
Name = version,
Body = "This is an automatic release from the GitLab build server.",
Body = "This is an automatic release from GitHub Actions. Refer to the [latest release](https://github.com/RedpointGames/uet/releases/tag/latest) instead.",
Draft = true,
MakeLatest = "false",
TargetCommitish = Environment.GetEnvironmentVariable("GITHUB_SHA"),
},
GitHubJsonSerializerContext.Default.GitHubNewRelease),
context.GetCancellationToken()).ConfigureAwait(false);
Expand Down

0 comments on commit cb6bb52

Please sign in to comment.