summaryrefslogtreecommitdiffstats
path: root/integration/src/main/scripts/release/releasePhase.sh
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2022-07-13 11:40:56 +0100
committerliamfallon <liam.fallon@est.tech>2022-07-13 12:59:13 +0100
commit555565323a6095abcbe1a761faac2d71a455dfe0 (patch)
tree527aab3c52dad31444bbefc408af67168455aa10 /integration/src/main/scripts/release/releasePhase.sh
parent12fea027b14c36fe3b8e16f5a2aeedab8366285c (diff)
Update release and report scripts
Release scripts are updated to automatically change the releae data CSV file in policy-parent/integration/src/main/resources Report script is updated t add HTTP links to the various reports Issue-ID: POLICY-4233 Change-Id: Id98a4e2805caf68a66dd5844f388c045f75a8865 Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'integration/src/main/scripts/release/releasePhase.sh')
-rwxr-xr-xintegration/src/main/scripts/release/releasePhase.sh15
1 files changed, 13 insertions, 2 deletions
diff --git a/integration/src/main/scripts/release/releasePhase.sh b/integration/src/main/scripts/release/releasePhase.sh
index e606ffb5..fd8397ff 100755
--- a/integration/src/main/scripts/release/releasePhase.sh
+++ b/integration/src/main/scripts/release/releasePhase.sh
@@ -374,12 +374,23 @@ release_phase_13() {
}
release_phase_14() {
- echo "Updating snapshots on policy/drools-applications, policy/gui . . ."
+ echo "Updating snapshots on policy/drools-applications, policy/gui and updating release data file . . ."
bumpSnapshots.sh \
-d "$release_data_file" \
-l "$repo_location" \
-i "$issue_id"
- echo "Updated snapshots on policy/drools-applications, policy/gui"
+ updateRefs.sh \
+ -f \
+ -d "$release_data_file" \
+ -l "$repo_location" \
+ -r "policy/parent"
+ generateCommit.sh \
+ -l "$repo_location" \
+ -r "policy/parent" \
+ -i "$issue_id" \
+ -e "update release data in policy/parent" \
+ -m "updated release data in policy/parent"
+ echo "Updated snapshots on policy/drools-applications, policy/gui and updated release data file"
}
case "$release_phase" in