Files
luos/update
Victor Saisa Lopez 6d9858d6d0 HOR-1738 "Change folder permissions in ProcessMaker" SOLVED
Issue:
    Change folder permissions in ProcessMaker
Cause:
    Nuevo requerimiento
Solution:
    Se cambio los permisos de los files and directories
2016-08-30 13:03:35 -04:00

48 lines
1.7 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

echo "<h1>Michelangelo Update</h1><h2>Changelog Processmaker</h2><code>" > temp.txt
git pull
git log -n 30 --graph --format=medium --no-merges >> temp.txt
cd vendor/colosa/pmUI
echo "</code><br><h2>Changelog pmUI</h2><br><code>" >> ../../../temp.txt
git pull
git log -n 30 --graph --format=medium --no-merges >> ../../../temp.txt
rake css
cd ../MichelangeloFE
echo "</code><br><h2>Changelog MichelangeloFE</h2><br><code>" >> ../../../temp.txt
git pull
git log -n 30 --graph --format=medium --no-merges >> ../../../temp.txt
rake compass
cd ../../../
echo "</code><br><h2>build-vendor.php</h2><br><code>" >> temp.txt
php build-vendor.php >> temp.txt
sed ':a;N;$!ba;s/\n/<br>/g' temp.txt > workflow/public_html/build-log.html
cp workflow/public_html/build-log.html temp.txt
sed -re 's#\[0;35;35m#<span style="color:saddlebrown;">#g' temp.txt > workflow/public_html/build-log.html
cp workflow/public_html/build-log.html temp.txt
sed -re 's#\[1;33;34m#<span style="color:darkblue;">#g' temp.txt > workflow/public_html/build-log.html
cp workflow/public_html/build-log.html temp.txt
sed -re 's#\[0;35;32m#<span style="color:green;">#g' temp.txt > workflow/public_html/build-log.html
cp workflow/public_html/build-log.html temp.txt
sed -re 's#\[31m\[32m#</span style="color:brown;">#g' temp.txt > workflow/public_html/build-log.html
cp workflow/public_html/build-log.html temp.txt
sed -re 's#\[0m#</span>#g' temp.txt > workflow/public_html/build-log.html
cp workflow/public_html/build-log.html temp.txt
sed -re 's#Author:(.*)\n#<span>xxxx(1)</span>#g' temp.txt > workflow/public_html/build-log.html
echo "update executed succesfully, check the log in http://<server>/build-log.html "