From ec65a5318cc0d6791ee168b8ca1627b0f0398e14 Mon Sep 17 00:00:00 2001 From: Debian wanna-build admins Date: Mon, 7 Feb 2011 18:38:37 +0000 Subject: [PATCH] update-schema.sh: add git push post-commit --- schema/update-schema.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/schema/update-schema.sh b/schema/update-schema.sh index 72f2230..364289d 100755 --- a/schema/update-schema.sh +++ b/schema/update-schema.sh @@ -8,5 +8,6 @@ git add wanna-build.sql sudo -u postgres pg_dumpall --cluster 8.4/wanna-build | egrep '^(GRANT.*TO.*BY|CREATE ROLE)' > roles.sql git add roles.sql -git commit wanna-build.sql roles.sql -m 'Auto-committed schema changes.' +git status >/dev/null && git commit wanna-build.sql roles.sql -m 'Auto-committed schema changes.' +git push >/dev/null -- 2.39.2