Push bugfix

This commit is contained in:
Juan Ferrer 2020-11-18 13:28:09 +01:00
parent 24f72db15c
commit d9dc708da5
2 changed files with 7 additions and 3 deletions

View File

@ -76,7 +76,9 @@ CHANGED=$?
UNTRACKED=`git ls-files --others --exclude-standard`
if [ $STAGED ] || [ $CHANGED ] || [ -n "$UNTRACKED" ]; then
echo S$STAGED C$CHANGED U$UNTRACKED
if [ "$STAGED" == "1" ] || [ "$CHANGED" == "1" ] || [ -n "$UNTRACKED" ]; then
if [ "$APPLY_UNCOMMITED" == "TRUE" ]; then
echo "[WARN] You are applying uncommited changes."
else
@ -88,6 +90,8 @@ fi
COMMIT_SHA=$(git rev-parse HEAD)
echo "[INFO] HEAD: $COMMIT_SHA"
exit
# Query functions
dbQuery() {
@ -120,7 +124,7 @@ if [[ ! "$DB_VERSION" =~ ^[0-9]*$ ]]; then
exit 4
fi
if [[ -z "$DB_VERSION" ]]; then
DB_VERSION=10000
DB_VERSION=00000
fi
if [ "$IS_USER" == "TRUE" ]; then

View File

@ -1,6 +1,6 @@
{
"name": "myvc",
"version": "1.0.14",
"version": "1.0.15",
"author": "Verdnatura Levante SL",
"description": "MySQL Version Control",
"license": "GPL-3.0",