summaryrefslogtreecommitdiffstats
path: root/integration
diff options
context:
space:
mode:
authorAdheli Tavares <adheli.tavares@est.tech>2024-05-02 09:35:23 +0000
committerGerrit Code Review <gerrit@onap.org>2024-05-02 09:35:23 +0000
commitd213475f4d252a4d81a48be0f674c830eb85d8ef (patch)
tree1c10071564ec17db1b893bc96e7d15a5535f4b18 /integration
parent65138dad1d25ac4ad1d611d4e01b4cb93648e121 (diff)
parentfb389c4bd9d19542ce7f0e9ccc2a22e10e7da1ba (diff)
Merge "Fix PF release script to update checkstyle reference"
Diffstat (limited to 'integration')
-rwxr-xr-xintegration/src/main/scripts/release/updateRefs.sh8
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