Skip to content

Commit

Permalink
Studio v7 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Jess Portnoy committed Jan 2, 2023
1 parent 93ace8c commit 8f3e08e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
5 changes: 2 additions & 3 deletions RPM/SPECS/kaltura-html5-studio7.spec
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,13 @@ For more information visit: http://corp.kaltura.com, http://www.kaltura.org and
This package installs the Kaltura HTML5 Studio v7.

%prep
%setup -qn kaltura-player-studio-v7-563d6744346ecb2ea4edf1d772489b001032f3b4

%setup -q



%install
mkdir -p $RPM_BUILD_ROOT%{studio_prefix}
npm install
npm install --legacy-peer-deps
npm run build
cp -r build $RPM_BUILD_ROOT%{studio_prefix}/%{version}

Expand Down
7 changes: 6 additions & 1 deletion build/package_kaltura_html5-studio7.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,13 @@ if [ ! -x "`which wget 2>/dev/null`" ];then
echo "Need to install wget."
exit 2
fi
TMP_ARCHIVE_NAME=$SOURCE_PACKAGING_DIR/$HTML5_APP_STUDIO7_RPM_NAME-$HTML5_APP_STUDIO7_VERSION.tar.gz
ARCHIVE_NAME=$RPM_SOURCES_DIR/$HTML5_APP_STUDIO7_RPM_NAME-$HTML5_APP_STUDIO7_VERSION.tar.gz
wget -q -O$ARCHIVE_NAME --header="Authorization: token ${GITHUB_TOKEN}" $HTML5_APP_STUDIO7_URI
wget -q -O$TMP_ARCHIVE_NAME --header="Authorization: token ${GITHUB_TOKEN}" $HTML5_APP_STUDIO7_URI
tar zxf $TMP_ARCHIVE_NAME
mv kaltura-player-studio-v7-* $HTML5_APP_STUDIO7_RPM_NAME-$HTML5_APP_STUDIO7_VERSION
tar zcf $ARCHIVE_NAME $HTML5_APP_STUDIO7_RPM_NAME-$HTML5_APP_STUDIO7_VERSION
rm -rf $HTML5_APP_STUDIO7_RPM_NAME-$HTML5_APP_STUDIO7_VERSION
echo "Packaged into $ARCHIVE_NAME"
if [ -x "`which rpmbuild 2>/dev/null`" ];then
rpmbuild -ba $RPM_SPECS_DIR/$HTML5_APP_STUDIO7_RPM_NAME.spec
Expand Down

0 comments on commit 8f3e08e

Please sign in to comment.