mirror of https://github.com/sualko/cloud_bbb
chore: create release instead of draft
parent
50c1066abd
commit
2b83f9ccf8
|
@ -134,7 +134,7 @@ async function createGithubRelease(changeLog) {
|
||||||
name: `BigBlueButton Integration ${tagName}`,
|
name: `BigBlueButton Integration ${tagName}`,
|
||||||
body: changeLog.replace(/^## [^\n]+\n/, ''),
|
body: changeLog.replace(/^## [^\n]+\n/, ''),
|
||||||
prerelease: !/^\d+\.\d+\.\d+$/.test(packageInfo.version),
|
prerelease: !/^\d+\.\d+\.\d+$/.test(packageInfo.version),
|
||||||
draft: true,
|
draft: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (isDryRun) {
|
if (isDryRun) {
|
||||||
|
@ -144,7 +144,7 @@ async function createGithubRelease(changeLog) {
|
||||||
|
|
||||||
const releaseResponse = await octokit.repos.createRelease(releaseOptions);
|
const releaseResponse = await octokit.repos.createRelease(releaseOptions);
|
||||||
|
|
||||||
console.log(`Draft created, see ${releaseResponse.data.html_url}`.verbose);
|
console.log(`Release created, see ${releaseResponse.data.html_url}`.verbose);
|
||||||
|
|
||||||
function getMimeType(filename) {
|
function getMimeType(filename) {
|
||||||
if (filename.endsWith('.asc') || filename.endsWith('sig')) {
|
if (filename.endsWith('.asc') || filename.endsWith('sig')) {
|
||||||
|
|
Loading…
Reference in New Issue