Skip to content

Commit

Permalink
Print url to release when a release is made
Browse files Browse the repository at this point in the history
  • Loading branch information
gaymeowing committed Feb 5, 2025
1 parent 7e86bfa commit cb3d225
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/release/init.luau
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ local diff_reader = require("../diff_reader")
local impl = require("../mock/roblox/impl")
local DateTime = require("@lune/DateTime")
local process = require("@lune/process")
local serde = require("@lune/serde")
local packager = require("packager")
local summon = require("../summon")
local libinfo = require("libinfo")
Expand Down Expand Up @@ -110,8 +111,10 @@ for _, release_libinfo in RELEASE_LIBS do
for _, path in release_files do
summon("gh", `release upload {release_tag} {path} --clobber`)
end

local release_url = serde.decode("json", summon("gh", `release view {release_tag} --json url`)).url
print(`{lib} release: {release_url}`)
fs.removeDir("dist")
end

fs.removeDir("libs_copy")
process.exit()

0 comments on commit cb3d225

Please sign in to comment.