NAME
liquibase-git
VERSION
version 0.0.1
DESCRIPTION
Assume you have an app with: * git repo https://github.com/foo/myapp.git containing a liquibase changeset * a database mydb-db1 * a database host db1.myapp.com
The following CLI
$ liquibase-git \
   --username liquibase \
   --password foobar \
   --db mydb-db1 \
   --hostname db1.myapp.com \
   --git-repo https://github.com/foo/myapp.git \
   --git-changeset-dir db/db1 \
   --git-identifier master \
   --db-type postgresql \
   --changeset-file changeset.xml \
   --action update
applies the sql changes defined by
https://github.com/foo/myapp.git:db/db1/changeset.xml
on the database mydb-db1.
--action updateSQL
simply outputs the SQL which would be run.
If no action is defined, updateSQL is the default.
__THIS IS A DEVELOPMENT RELEASE. MAY CHANGE WITHOUT NOTICE__.
CLI
liquibase-git [parameters]
parameters
-u --username               the username
-p --password               the password
   --db                     the name of the database
-h --hostname               the db host
-d --git-changeset-dir      the RELATIVE (not absolute) changeset
                            directory inside the app git repo eg
                            liquibase/mydb
-c --git-changeset-file     the xml file in the changeset-dir-leaf
                            directory dictating which changes to apply
-r --git-repo               the git repo containing the db changeset
-i --git-identifier         a git tag, branch or commit on which to
                            base the changes
-t --db-type                the type of the database - postgresql or
                            mysql
-j --classpath              the jar file in support of db-type
AUTHOR
Andrew Solomon <andrew.solomon@net-a-porter.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Net-a-Porter.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.