Skip to content

Instantly share code, notes, and snippets.

@goyalmohit
Created August 14, 2019 03:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save goyalmohit/caf20df0c00c0b6cab34fa3808d9aec5 to your computer and use it in GitHub Desktop.
Save goyalmohit/caf20df0c00c0b6cab34fa3808d9aec5 to your computer and use it in GitHub Desktop.
Bash task to run liquibase commands during release process
..
- task: Bash@3
inputs:
targetType: 'inline'
script: |
cd $(System.ArtifactsDirectory)
unzip ./drop/liquibase-demo.zip -d liquibase-demo
cd ./liquibase-demo
java -jar ./lib/liquibase-core-3.3.0.jar --defaultsFile=./src/main/resources/liquibase.properties update
..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment