Code Review
/
policy
/
parent.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix small bugs in release scripts
[policy/parent.git]
/
integration
/
src
/
main
/
scripts
/
release
/
releasePhase.sh
diff --git
a/integration/src/main/scripts/release/releasePhase.sh
b/integration/src/main/scripts/release/releasePhase.sh
index
652bf00
..
81a457e
100755
(executable)
--- 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 \
-l "$repo_location" \
-i "$issue_id"
updateRefs.sh \
- -pc \
+ -pc
k
\
-d "$release_data_file" \
-l "$repo_location" \
-r "policy/models"
-d "$release_data_file" \
-l "$repo_location" \
-r "policy/models"
@@
-374,11
+374,17
@@
release_phase_13() {
}
release_phase_14() {
}
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"
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" \
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"
-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
}
case "$release_phase" in
@@
-437,6
+443,9
@@
case "$release_phase" in
14) release_phase_14
;;
14) release_phase_14
;;
+15) release_phase_15
+ ;;
+
*) echo "specified release phase '$release_phase' is invalid"
;;
esac
*) echo "specified release phase '$release_phase' is invalid"
;;
esac