Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version: LoadLiquibase: handle errors properly #496

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Dentrax
Copy link

@Dentrax Dentrax commented Mar 4, 2025

Fixes a panic while adding a package that has a build.version set to non-semantic version:

LIQUIBASE_HOME=liquibase ./darwin add [email protected]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x28 pc=0x1050b2704]

With this change, we will get:

2025/03/04 22:55:14 Parsing build.version from properties: Malformed version: DEV

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant