Skip to content

Instantly share code, notes, and snippets.

@silverfox78
Created November 2, 2020 20:22
Show Gist options
  • Save silverfox78/30b0f9ce80be52c7e615988849911a52 to your computer and use it in GitHub Desktop.
Save silverfox78/30b0f9ce80be52c7e615988849911a52 to your computer and use it in GitHub Desktop.
pushError()
{
Color_Off='\033[0m' # Text Reset
Red='\033[0;31m' # Red
White='\033[0;37m' # White
V_LINEA=$(printf "%-60s" "#")
echo -e "$Red${V_LINEA// /#}\n"
echo -e "$Red\t[ - ERROR - ]\tERROR EN EL VERSIONAMIENTO\n"
echo -e "$Red\t\t\tVERIFIQUE EL ERROR\n"
echo -e "$Red${V_LINEA// /#}\n\n$Color_Off"
echo -e "$Yellow\tMensaje:$White\n\t$V_GITPUSH\n$Color_Off"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment