//native
export async function main(
glab: RT.Gitlab,
projectId: number,
releaseTag: string,
) {
const url = `${glab.baseUrl}/api/v4/projects/${projectId}/releases/${releaseTag}`;
const response = await fetch(`${url}`, {
headers: { Authorization: `Bearer ${glab.token}` },
});
return await response.json();
}
Submitted by hugo989 4 days ago