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

Fix liquibase bat #4985

Merged
merged 2 commits into from Oct 9, 2023
Merged

Conversation

erasmussen-first
Copy link
Contributor

Impact

  • Bug fix (non-breaking change which fixes expected existing functionality)
  • Enhancement/New feature (adds functionality without impacting existing logic)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

Fix environment variable handling in liquibase.bat
1: Don't error if JAVA_HOME is defined and surrounded by double-quotes
2: If auto-setting JAVA_HOME, fix double-backslash before jre
3: If auto-setting JAVA_HOME, remove quotes around JAVA_HOME

Things to be aware of

Things to worry about

Additional Context

@erasmussen-first
Copy link
Contributor Author

I cannot find where to assign the typeBug label to this PR.

@filipelautert filipelautert added TypeBug SafeToBuild Indicates that a particular PR contains changes which are safe to build using GitHub actions labels Sep 28, 2023
@filipelautert
Copy link
Collaborator

@erasmussen-first seems our build is broken right now, but besides that we will review this PR. Thanks for the submission!

erasmussen-first and others added 2 commits October 2, 2023 10:17
1: Don't error if JAVA_HOME is defined and surrounded by double-quotes
2: If auto-setting JAVA_HOME, fix double-backslash before jre
3: If auto-setting JAVA_HOME, remove quotes around JAVA_HOME
Copy link
Collaborator

@filipelautert filipelautert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I downloaded the file and added it to a 4.23.2 installation. Executed in on powershell and cmd , with and without JAVA_HOME set and everything went fine! Thanks @erasmussen-first

@filipelautert filipelautert added this to the 1NEXT milestone Oct 9, 2023
@filipelautert filipelautert merged commit f3ae024 into liquibase:master Oct 9, 2023
10 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SafeToBuild Indicates that a particular PR contains changes which are safe to build using GitHub actions TypeBug
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants