Skip to content

Commit

Permalink
DIOS-1851 Migration Linux to GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
msobo1 committed Sep 12, 2023
1 parent ba55eb4 commit 9dd7ba7
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions CI/linux/03_package_obs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,17 @@ package_obs() {
step "Package OBS..."
cmake --build ${BUILD_DIR} -t package

DEB_NAME=$(find ${BUILD_DIR} -maxdepth 1 -name "obs*.deb" | sort -rn | head -1)
echo "DEB_NAME: ${DEB_NAME}"
echo "BUILD_DIR: ${BUILD_DIR}"

if [ "${DEB_NAME}" ]; then
if [ ! -d package_${VENDOR_NAME} ]; then
mkdir package_${VENDOR_NAME}
fi
mv ${DEB_NAME} package_${VENDOR_NAME}
else
error "ERROR No suitable OBS debian package generated"
fi
# DEB_NAME=$(find ${BUILD_DIR} -maxdepth 1 -name "obs-webrtc*.deb" | sort -rn | head -1)

# Deactivated - we have one vendor atm
# if [ "${DEB_NAME}" ]; then
# if [ ! -d package_${VENDOR_NAME} ]; then
# mkdir package_${VENDOR_NAME}
# fi
# mv ${DEB_NAME} package_${VENDOR_NAME}
# else
# error "ERROR No suitable OBS debian package generated"
# fi
}

package-obs-standalone() {
Expand Down

0 comments on commit 9dd7ba7

Please sign in to comment.