From 27b973657cbc68b17724f05d2094aa9f8e04d5d2 Mon Sep 17 00:00:00 2001 From: Juan Date: Thu, 19 Apr 2018 13:50:11 +0200 Subject: [PATCH] Logging improved --- debian/changelog | 2 +- vn-debuild | 10 +++++----- vn-deploy | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/debian/changelog b/debian/changelog index 582f8f9..ce53d59 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -vn-repo (2.0.10) stable; urgency=low +vn-repo (2.0.11) stable; urgency=low * Initial Release. diff --git a/vn-debuild b/vn-debuild index dfa088a..e5b4fe2 100755 --- a/vn-debuild +++ b/vn-debuild @@ -11,28 +11,28 @@ buildDir="$srcDir/.." repreproDir="/var/cache/reprepro" codename="stable" -echo "++++++++++++++ Building source code." +echo -e -e "\n#Building source code." echo " * Date: $(date)" echo " * Directory: $buildDir" if [ -f "$srcDir/package.json" ] then - echo "++++++++++++++ Installing Node dependencies." + echo -e "\n#Installing Node dependencies." (cd "$srcDir" && npm --silent install) fi if [ -f "$srcDir/debian/changelog" ] then - echo "++++++++++++++ Cleaning last build." + echo -e "\n#Cleaning last build." rm -f $buildDir/*.deb rm -f $buildDir/*.changes rm -f $buildDir/*.build (cd "$srcDir" && debian/rules clean) - echo "++++++++++++++ Building Debian packages." + echo -e "\n#Building Debian packages." (cd "$srcDir" && debuild -uc -us -b) - echo "++++++++++++++ Adding packages to repository." + echo -e "\n#Adding packages to repository." cut -d" " -f1 "$srcDir/debian/files" | while read debFile diff --git a/vn-deploy b/vn-deploy index 847a6aa..bb476e5 100755 --- a/vn-deploy +++ b/vn-deploy @@ -25,7 +25,7 @@ fi # FIXME: Packages are not upgraded when config files are changed -echo "++++++++++++++ Upgrading servers." +echo -e "\n#Upgrading servers." for host in $hosts do