diff options
author | 2024-04-29 17:11:42 +0100 | |
---|---|---|
committer | 2024-05-02 10:03:44 +0100 | |
commit | fb389c4bd9d19542ce7f0e9ccc2a22e10e7da1ba (patch) | |
tree | 5af2b5fd565dfee6de166a46d7fbe26382721199 /integration/src/main/scripts/release | |
parent | 2816f402050037f1b525d5b37a2d057d90070057 (diff) |
Fix PF release script to update checkstyle reference
Issue-ID: POLICY-4973
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: Ib85630fa2e1dd4aaeae2238b32394c376c6fa157
Diffstat (limited to 'integration/src/main/scripts/release')
-rwxr-xr-x | integration/src/main/scripts/release/updateRefs.sh | 8 |
1 files changed, 7 insertions, 1 deletions
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>.*<\/version.parent.resources>/<version.parent.resources>$new_snapshot_tag<\/version.parent.resources>/" \ "$repo_location/policy/parent/integration/pom.xml" + $SED -i \ + "s/<version.parent.checkstyle>.*<\/version.parent.checkstyle>/<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>.*<\/version.parent.resources>/<version.parent.resources>$next_release_version<\/version.parent.resources>/" \ "$repo_location/policy/parent/integration/pom.xml" + $SED -i \ + "s/<version.parent.checkstyle>.*<\/version.parent.checkstyle>/<version.parent.checkstyle>$next_release_version<\/version.parent.checkstyle>/" \ + "$repo_location/policy/parent/integration/pom.xml" result_code=$? fi else |