Cleaned up Compile Scripts & Pipeline
Commiting to test.
This commit is contained in:
18
compile_finish.sh
Normal file
18
compile_finish.sh
Normal file
@ -0,0 +1,18 @@
|
||||
#/bin/sh
|
||||
echo " "
|
||||
echo "======================="
|
||||
echo " "
|
||||
if [ "$1" != "success" ]
|
||||
then
|
||||
echo "Errors Occurred, please review."
|
||||
wget -q https://img.shields.io/badge/build-failed-red.svg -O release/build.svg 2>/dev/null
|
||||
echo " "
|
||||
echo "======================="
|
||||
exit 1
|
||||
else
|
||||
echo "No errors."
|
||||
wget -q https://img.shields.io/badge/build-succeeded-green.svg -O release/build.svg 2>/dev/null
|
||||
echo " "
|
||||
echo "======================="
|
||||
exit 0
|
||||
fi
|
Reference in New Issue
Block a user