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.*
|
||||
]]></description>
|
||||
<version>1.3.0</version>
|
||||
<version>1.3.0-git.64d2339</version>
|
||||
<licence>agpl</licence>
|
||||
<author mail="klaus@jsxc.org">Klaus Herberth</author>
|
||||
<namespace>BigBlueButton</namespace>
|
||||
|
|
|
@ -64,8 +64,10 @@ async function createRelease(appId) {
|
|||
const version = await getVersion();
|
||||
console.log(`I'm now building ${appId} in version ${version}.`.verbose);
|
||||
|
||||
await isRepoClean();
|
||||
console.log('✔ repo is clean'.green);
|
||||
if (isStableRelease) {
|
||||
await isRepoClean();
|
||||
console.log('✔ repo is clean'.green);
|
||||
}
|
||||
|
||||
await execa('yarn', ['composer:install:dev']);
|
||||
console.log('✔ composer dev dependencies installed'.green);
|
||||
|
@ -93,7 +95,7 @@ async function createRelease(appId) {
|
|||
async function isRepoClean() {
|
||||
const status = await git.status();
|
||||
|
||||
if (status.staged.length > 0) {
|
||||
if (status.staged.length > 1) {
|
||||
throw 'Repo not clean. Found staged files.';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue