revert: drop .git from bbb-tranctiption-controller (second version)

This commit is contained in:
Anton Georgiev 2023-09-15 09:05:41 -04:00 committed by GitHub
parent 48b2237975
commit 0c0a327db7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,12 +16,11 @@ rm -rf staging
mkdir -p staging/usr/local/bigbluebutton/bbb-transcription-controller
find -maxdepth 1 ! -path . ! -name staging $(printf "! -name %s " $(cat .build-files)) -exec cp -r {} staging/usr/local/bigbluebutton/bbb-transcription-controller/ \;
find -maxdepth 1 ! -path . ! -name staging ! -name .git $(printf "! -name %s " $(cat .build-files)) -exec cp -r {} staging/usr/local/bigbluebutton/bbb-transcription-controller/ \;
pushd .
cd staging/usr/local/bigbluebutton/bbb-transcription-controller/
npm install --production
rm -r .git
popd
mkdir -p staging/usr/lib/systemd/system