Skip to content

Commit

Permalink
Merge pull request #132 from EggOxygen/master
Browse files Browse the repository at this point in the history
Added an 'author' argument for the `DiffChangelogCommand`
  • Loading branch information
filipelautert authored Sep 25, 2023
2 parents 3338844 + 6a80770 commit a0799fd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# What version of the Liquibase Gradle Plugin are we building?
liquibaseGradlePluginVersion=2.2.0
liquibaseGradlePluginVersion=2.2.1

# When we download a maven dependency, should we also get source files?
downloadSources=false
Expand Down
4 changes: 3 additions & 1 deletion src/main/groovy/org/liquibase/gradle/LiquibaseCommand.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ abstract class LiquibaseCommand {
// between Liquibase and this list is that we have a "LABELS" constant to represent the alias
// created in any command that uses "LABEL_FILTER", and the URL constant had to be named
// something else to avoid a naming conflict with the URL class.
static final AUTHOR = 'author'
static final AUTO_UPDATE = 'autoUpdate'
static final CHANGELOG_FILE = 'changelogFile'
static final CHANGE_EXEC_LISTENER_CLASS = 'changeExecListenerClass'
Expand Down Expand Up @@ -140,7 +141,8 @@ abstract class LiquibaseCommand {
INCLUDE_OBJECTS,
SQL,
SQL_FILE,
VERBOSE
VERBOSE,
AUTHOR
]

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ class DiffChangelogCommand extends LiquibaseCommand {
INCLUDE_CATALOG,
DIFF_TYPES,
DRIVER,
DRIVER_PROPERTIES_FILE
DRIVER_PROPERTIES_FILE,
AUTHOR
]
}

Expand Down

0 comments on commit a0799fd

Please sign in to comment.