-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2f2aff1
commit 102f11a
Showing
1 changed file
with
18 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,26 +26,29 @@ PUSH_GHPAGES='' | |
|
||
# MOSTRAR MENSAJE DE ERROR DE ARGUMENTO TAG | ||
error_arg_tag() { | ||
echo "SOLUCION: Especifica un tag así: --tag=0.0.0 (obligatorio) NOTA: La estructura de un tag es [NivelMayor.NivelMenor.NivelBugfix]" | ||
exit 1 | ||
} | ||
|
||
# MOSTRAR MENSAJE DE ERROR DE ARGUMENTO DIRECTORY | ||
error_arg_directory() { | ||
echo "SOLUCION: Indica el directorio de compilación así: --dir=$VALUE_DIRECTORY // --directory=$VALUE_DIRECTORY (opcional)" | ||
echo "[ OBLIGATORIO ]" | ||
echo "-t=$VALUE_TAG, --tag=$VALUE_TAG ........................... Estructura de un tag [NivelMayor.NivelMenor.NivelBugfix]" | ||
exit 1 | ||
} | ||
|
||
# MOSTRAR MENSAJE DE ERROR GENERAL | ||
error_args_general() { | ||
echo "SOLUCION:" | ||
echo "-t=, --tag= Tag [NivelMayor.NivelMenor.NivelBugfix]" | ||
echo "-dt=, --deleted-lasttag= Eliminar último tag registrado" | ||
echo "-b=, --branch= Rama git" | ||
echo "--exec= Comando de compilación" | ||
echo "-o=, --out-dir= Carpeta de compilación" | ||
echo "--repository= Repositorio git" | ||
echo "-gp=, --github-pages= Utilizar github pages" | ||
echo "[ COMANDOS CLI ]" | ||
echo "-t, --tag ........................... structura de un tag [NivelMayor.NivelMenor.NivelBugfix]" | ||
echo "-dt, --deleted-lasttag .............. Eliminar último tag registrado" | ||
echo "-b, --branch ........................ Rama git" | ||
echo "--exec .............................. Comando de compilación" | ||
echo "-o, --out-dir ....................... Carpeta de compilación" | ||
echo "--repository ........................ Repositorio git" | ||
echo "-gp, --github-pages ................. Utilizar github pages" | ||
echo | ||
echo "[ DOCUMENTACION ]" | ||
echo "Repositorio github: https://github.com/alexchristianqr/sh-ghpages" | ||
echo | ||
echo "[ AUTOR ]" | ||
echo "Usuario: Alex Christian" | ||
echo "Email: [email protected]" | ||
echo "Repositorio github: https://github.com/alexchristianqr" | ||
exit 1 | ||
} | ||
|
||
|