Skip to content

Commit

Permalink
fix target version of OR recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoayyed committed Dec 20, 2023
1 parent 6402d9e commit a7b4b03
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ci/validate-cas-overlay.sh
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,9 @@ printgreen "Build Container Image w/ Docker Compose"
docker-compose build

if [[ "$CAS_MAJOR_VERSION" -ge 7 ]]; then
targetVersion=${CAS_VERSION%-SNAPSHOT}

# targetVersion=${CAS_VERSION%-SNAPSHOT}
targetVersion="${CAS_VERSION}"

printgreen "OpenRewrite to discover recipes for target version ${targetVersion}..."
recipes=$(./gradlew --init-script openrewrite.gradle rewriteDiscover -PtargetVersion="${targetVersion}" | grep "org.apereo.cas")
if [ -z "$recipes" ] ; then
Expand Down

0 comments on commit a7b4b03

Please sign in to comment.