mirror of https://github.com/sualko/cloud_bbb
chore: fix build script
parent
4115990bb1
commit
9e3a320a65
|
@ -22,7 +22,7 @@ Developer wanted! If you have time it would be awesome if you could help to enha
|
||||||
|
|
||||||
*This app integrates BigBlueButton and is not endorsed or certified by BigBlueButton Inc. BigBlueButton and the BigBlueButton Logo are trademarks of BigBlueButton Inc.*
|
*This app integrates BigBlueButton and is not endorsed or certified by BigBlueButton Inc. BigBlueButton and the BigBlueButton Logo are trademarks of BigBlueButton Inc.*
|
||||||
]]></description>
|
]]></description>
|
||||||
<version>1.3.0</version>
|
<version>1.3.0-git.64d2339</version>
|
||||||
<licence>agpl</licence>
|
<licence>agpl</licence>
|
||||||
<author mail="klaus@jsxc.org">Klaus Herberth</author>
|
<author mail="klaus@jsxc.org">Klaus Herberth</author>
|
||||||
<namespace>BigBlueButton</namespace>
|
<namespace>BigBlueButton</namespace>
|
||||||
|
|
|
@ -64,8 +64,10 @@ async function createRelease(appId) {
|
||||||
const version = await getVersion();
|
const version = await getVersion();
|
||||||
console.log(`I'm now building ${appId} in version ${version}.`.verbose);
|
console.log(`I'm now building ${appId} in version ${version}.`.verbose);
|
||||||
|
|
||||||
await isRepoClean();
|
if (isStableRelease) {
|
||||||
console.log('✔ repo is clean'.green);
|
await isRepoClean();
|
||||||
|
console.log('✔ repo is clean'.green);
|
||||||
|
}
|
||||||
|
|
||||||
await execa('yarn', ['composer:install:dev']);
|
await execa('yarn', ['composer:install:dev']);
|
||||||
console.log('✔ composer dev dependencies installed'.green);
|
console.log('✔ composer dev dependencies installed'.green);
|
||||||
|
@ -93,7 +95,7 @@ async function createRelease(appId) {
|
||||||
async function isRepoClean() {
|
async function isRepoClean() {
|
||||||
const status = await git.status();
|
const status = await git.status();
|
||||||
|
|
||||||
if (status.staged.length > 0) {
|
if (status.staged.length > 1) {
|
||||||
throw 'Repo not clean. Found staged files.';
|
throw 'Repo not clean. Found staged files.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue