Răsfoiți Sursa

Merge branch '5.8.x' into 6.0.x

Marcus Da Coregio 2 ani în urmă
părinte
comite
b9eb60f598
2 a modificat fișierele cu 20 adăugiri și 0 ștergeri
  1. 10 0
      sync-framework-bom.sh
  2. 10 0
      sync-security-bom.sh

+ 10 - 0
sync-framework-bom.sh

@@ -0,0 +1,10 @@
+#!/bin/bash
+
+export BOM_VERSION=$1
+
+if [[ "$BOM_VERSION" == "" ]]; then
+  echo "Missing framework-bom-version. Usage: sync-framework-bom.sh <bom-version>"
+  exit 1
+fi
+find . -mindepth 2 -name build.gradle | xargs sed -i '' -E "s/(\"org.springframework:spring-framework-bom:)[^:\"]+/\1$BOM_VERSION/"
+

+ 10 - 0
sync-security-bom.sh

@@ -0,0 +1,10 @@
+#!/bin/bash
+
+export BOM_VERSION=$1
+
+if [[ "$BOM_VERSION" == "" ]]; then
+  echo "Missing security-bom-version. Usage: sync-security-bom.sh <bom-version>"
+  exit 1
+fi
+find . -mindepth 2 -name build.gradle | xargs sed -i '' -E "s/(\"org.springframework.security:spring-security-bom:)[^:\"]+/\1$BOM_VERSION/"
+