Skip to content

Commit

Permalink
Ability to override OpenMRS frontend core version based on frontend c…
Browse files Browse the repository at this point in the history
…ustomizations file (#79)

Co-authored-by: Romain Buisson <rbuisson@users.noreply.github.com>
  • Loading branch information
corneliouzbett and rbuisson committed Aug 1, 2024
1 parent 7198f2d commit 05af7ae
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ if (!shouldBuildFrontend) {

assembleCommand += " --config ${frontendCustomizationsFile.getAbsolutePath()}"
shouldBuildFrontend = true
// Update the OpenMRS version to the one specified in the customizations file if it exists.
openmrsVersion = slurper.parse(frontendCustomizationsFile)["coreVersion"] ?: openmrsVersion
log.info("Using OpenMRS Frontend Core Version: ${openmrsVersion}")
}
}

Expand Down

0 comments on commit 05af7ae

Please sign in to comment.