Push bugfix
This commit is contained in:
parent
24f72db15c
commit
d9dc708da5
|
@ -76,7 +76,9 @@ CHANGED=$?
|
||||||
|
|
||||||
UNTRACKED=`git ls-files --others --exclude-standard`
|
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
|
if [ "$APPLY_UNCOMMITED" == "TRUE" ]; then
|
||||||
echo "[WARN] You are applying uncommited changes."
|
echo "[WARN] You are applying uncommited changes."
|
||||||
else
|
else
|
||||||
|
@ -88,6 +90,8 @@ fi
|
||||||
COMMIT_SHA=$(git rev-parse HEAD)
|
COMMIT_SHA=$(git rev-parse HEAD)
|
||||||
echo "[INFO] HEAD: $COMMIT_SHA"
|
echo "[INFO] HEAD: $COMMIT_SHA"
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
||||||
# Query functions
|
# Query functions
|
||||||
|
|
||||||
dbQuery() {
|
dbQuery() {
|
||||||
|
@ -120,7 +124,7 @@ if [[ ! "$DB_VERSION" =~ ^[0-9]*$ ]]; then
|
||||||
exit 4
|
exit 4
|
||||||
fi
|
fi
|
||||||
if [[ -z "$DB_VERSION" ]]; then
|
if [[ -z "$DB_VERSION" ]]; then
|
||||||
DB_VERSION=10000
|
DB_VERSION=00000
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$IS_USER" == "TRUE" ]; then
|
if [ "$IS_USER" == "TRUE" ]; then
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "myvc",
|
"name": "myvc",
|
||||||
"version": "1.0.14",
|
"version": "1.0.15",
|
||||||
"author": "Verdnatura Levante SL",
|
"author": "Verdnatura Levante SL",
|
||||||
"description": "MySQL Version Control",
|
"description": "MySQL Version Control",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
|
|
Loading…
Reference in New Issue