diff options
author | liamfallon <liam.fallon@est.tech> | 2022-09-08 16:58:30 +0100 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2022-09-08 16:58:34 +0100 |
commit | 6214bfb8b261e8325e3ae3a063ccf7c6f68f7605 (patch) | |
tree | 95cd482c3beb73f062e69fb8ff5fc44902573046 /integration/src/main/scripts/release/releasePhase.sh | |
parent | 18a9ae57de6ba8fed4f8a4d1a1ba5302b5527e8b (diff) |
Fix small bugs in release scripts
- Correct handling of snapshots on Docker files
- Extra phase for submitting the release data
- Spacing on printouts
Issue-ID: POLICY-4333
Change-Id: I359942f91045bcdb7845cdf70fe7b1e55f6fd08a
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'integration/src/main/scripts/release/releasePhase.sh')
-rwxr-xr-x | integration/src/main/scripts/release/releasePhase.sh | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/integration/src/main/scripts/release/releasePhase.sh b/integration/src/main/scripts/release/releasePhase.sh index 652bf007..81a457e0 100755 --- a/integration/src/main/scripts/release/releasePhase.sh +++ b/integration/src/main/scripts/release/releasePhase.sh @@ -193,7 +193,7 @@ release_phase_5() { -l "$repo_location" \ -i "$issue_id" updateRefs.sh \ - -pc \ + -pck \ -d "$release_data_file" \ -l "$repo_location" \ -r "policy/models" @@ -374,11 +374,17 @@ release_phase_13() { } release_phase_14() { - echo "Updating snapshots on policy/drools-applications, policy/gui and updating release data file . . ." + echo "Updating snapshots on policy/drools-applications and policy/gui . . ." bumpSnapshots.sh \ -d "$release_data_file" \ -l "$repo_location" \ -i "$issue_id" + echo "Updated snapshots on policy/drools-applications and policy/gui" +} + + +release_phase_15() { + echo "Updating release data file . . ." updateRefs.sh \ -f \ -d "$release_data_file" \ @@ -390,7 +396,7 @@ release_phase_14() { -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" + echo "Updated release data file" } case "$release_phase" in @@ -437,6 +443,9 @@ case "$release_phase" in 14) release_phase_14 ;; +15) release_phase_15 + ;; + *) echo "specified release phase '$release_phase' is invalid" ;; esac |