From fb389c4bd9d19542ce7f0e9ccc2a22e10e7da1ba Mon Sep 17 00:00:00 2001 From: rameshiyer27 Date: Mon, 29 Apr 2024 17:11:42 +0100 Subject: Fix PF release script to update checkstyle reference Issue-ID: POLICY-4973 Signed-off-by: zrrmmua Change-Id: Ib85630fa2e1dd4aaeae2238b32394c376c6fa157 --- integration/src/main/scripts/release/updateRefs.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/integration/src/main/scripts/release/updateRefs.sh b/integration/src/main/scripts/release/updateRefs.sh index 0d3131e9..47922063 100755 --- a/integration/src/main/scripts/release/updateRefs.sh +++ b/integration/src/main/scripts/release/updateRefs.sh @@ -4,7 +4,7 @@ # ============LICENSE_START================================================ # ONAP # ========================================================================= -# Copyright (C) 2021-2022 Nordix Foundation. +# Copyright (C) 2021-2022,2024 Nordix Foundation. # ========================================================================= # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -261,6 +261,9 @@ then $SED -i \ "s/.*<\/version.parent.resources>/$new_snapshot_tag<\/version.parent.resources>/" \ "$repo_location/policy/parent/integration/pom.xml" + $SED -i \ + "s/.*<\/version.parent.checkstyle>/$new_snapshot_tag<\/version.parent.checkstyle>/" \ + "$repo_location/policy/parent/integration/pom.xml" result_code=$? else next_release_version=${parent_latest_snapshot_tag%-*} @@ -269,6 +272,9 @@ then $SED -i \ "s/.*<\/version.parent.resources>/$next_release_version<\/version.parent.resources>/" \ "$repo_location/policy/parent/integration/pom.xml" + $SED -i \ + "s/.*<\/version.parent.checkstyle>/$next_release_version<\/version.parent.checkstyle>/" \ + "$repo_location/policy/parent/integration/pom.xml" result_code=$? fi else -- cgit 1.2.3-korg