Skip to content

Commit af0b6e3

Browse files
authored
Merge pull request #361 from jrha/releaser_fixes
Releaser fixes
2 parents d7571ed + ff49f77 commit af0b6e3

File tree

2 files changed

+6
-144
lines changed

2 files changed

+6
-144
lines changed

src/releasing/maven-illuminate.sh

Lines changed: 0 additions & 137 deletions
This file was deleted.

src/releasing/releaser.sh

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
REPOS_MVN="release aii CAF CCM cdp-listend configuration-modules-core configuration-modules-grid LC ncm-cdispd ncm-ncd ncm-query ncm-lib-blockdevices"
4-
REPOS_ONE_TAG="template-library-core template-library-standard template-library-examples template-library-monitoring"
4+
REPOS_ONE_TAG="template-library-core template-library-standard template-library-examples"
55
REPOS_BRANCH_TAG="template-library-os template-library-grid template-library-openstack"
66
RELEASE=""
77
BUILD=""
@@ -27,7 +27,6 @@ else
2727
fi
2828

2929
shopt -s expand_aliases
30-
source maven-illuminate.sh
3130

3231
# Update the Quattor version used by template-library-examples (SCDB-based) to the one being released
3332
update_examples () {
@@ -62,11 +61,11 @@ publish_templates() {
6261
tag=$2
6362
cd configuration-modules-$1
6463
git checkout $tag
65-
mvn-c clean compile
64+
mvn -e clean compile
6665
# ugly hack
6766
if [ -d ncm-metaconfig ]; then
6867
cd ncm-metaconfig
69-
mvn-c clean test
68+
mvn -e clean test
7069
cd ..
7170
fi
7271
components_root=${LIBRARY_CORE_DIR}/components
@@ -97,7 +96,7 @@ publish_aii() {
9796
(
9897
cd aii || return
9998
git checkout "aii-$tag"
100-
mvn-c -q clean compile
99+
mvn -e -q clean compile
101100

102101
# Copy dedicated AII templates
103102
cp -r aii-core/target/pan/quattor/aii/* "${dest_root}"
@@ -113,7 +112,7 @@ publish_aii() {
113112
(
114113
cd configuration-modules-core || return
115114
git checkout "configuration-modules-core-$tag"
116-
mvn-c -q clean compile
115+
mvn -e -q clean compile
117116
# Copy shared AII/core component templates
118117
for component in freeipa opennebula; do
119118
rm -Rf "${dest_root:?}/${component}"
@@ -267,7 +266,7 @@ if gpg-agent; then
267266
for r in $REPOS_MVN; do
268267
echo_info "---------------- Releasing $r ----------------"
269268
cd $r
270-
mvn-c -q -DautoVersionSubmodules=true -Dgpg.useagent=true -Darguments=-Dgpg.useagent=true -B -DreleaseVersion=$VERSION clean release:prepare
269+
mvn -e -q -DautoVersionSubmodules=true -Dgpg.useagent=true -Darguments=-Dgpg.useagent=true -B -DreleaseVersion="$VERSION" clean release:prepare
271270
if [[ $? -gt 0 ]]; then
272271
echo_error "RELEASE FAILURE"
273272
exit 1

0 commit comments

Comments
 (0)