Skip to content

Commit

Permalink
Make commit urls in releases only display the commit hash
Browse files Browse the repository at this point in the history
  • Loading branch information
gaymeowing committed Sep 19, 2024
1 parent ecb7482 commit db560e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/release/init.luau
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ for _, release_libinfo in RELEASE_LIBS do
end

for _, commit in release_libinfo.commits do
table.insert(notes, `* {commit.title} by @{commit.author} in {BASE_COMMIT_URL}{commit.hash}`)
local hash = commit.hash
table.insert(notes, `* {commit.title} by @{commit.author} in [{hash}]({BASE_COMMIT_URL}{hash})`)
end

if #notes ~= 0 then
Expand Down

0 comments on commit db560e3

Please sign in to comment.