Skip to content

Commit

Permalink
only accept deb files
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed May 15, 2024
1 parent f0b6853 commit f0c0828
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ for STAGE_DIR in "${BASE_DIR}/stages/"*; do
done

cd ${BASE_DIR}
if [ -z "$(ls -A out 2>/dev/null)" ]; then echo "---------------> build failed :(" && exit 1; fi
echo "---------------> build successful :)"
if [ -z "$(ls -A out/*.deb 2>/dev/null)" ]; then
echo "---------------> build failed :(" && exit 1
else
echo "---------------> build successful :)"
fi
log "End ${BASE_DIR}"

0 comments on commit f0c0828

Please sign in to comment.