Developer Guide
March 26, 2026 ยท View on GitHub
Testing in Development
Clone the repository
git clone https://github.com/junminahn/asdf-flyway.git
cd asdf-flyway
git checkout <branch-name>
Install the local plugin
asdf plugin remove flyway # before you proceed, you might want to back up ~/.asdf/plugins/flyway
asdf plugin add flyway "$(pwd)" # must be the asdf-flyway git directory
Note:
asdf plugin addonly copies committed files. After making changes, commit them and reinstall the plugin with steps above to sync changes.
Testing
Test at least one version from each download source:
# Version <= 11.8.2 (uses Maven Central)
rm -rf ~/.asdf/installs/flyway/11.8.2
asdf install flyway 11.8.2
~/.asdf/installs/flyway/11.8.2/bin/flyway --version
# Version > 11.8.2 (uses GitHub Releases starting from this one)
rm -rf ~/.asdf/installs/flyway/11.11.2
asdf install flyway 11.11.2
~/.asdf/installs/flyway/11.11.2/bin/flyway --version
Reverting to Official Plugin
To remove your local version and use the official one:
asdf plugin remove flyway
asdf plugin add flyway https://github.com/junminahn/asdf-flyway.git