@microcode/flywaydb-cli
Version:
Install latest flywaydb-cli as a node module
18 lines (16 loc) • 330 B
JavaScript
import {
getReleaseSource,
downloadFlywaySource,
extractTolib,
makeBinLink,
rmTmpDir
} from './utils'
getReleaseSource()
.then(downloadFlywaySource)
.then(extractTolib)
.then(makeBinLink)
.then(rmTmpDir)
.catch(function (reason) {
// Handle failed request...
console.error(`error --> ${reason}`)
})