Skip to content

Commit

Permalink
releasing: maven-illuminate is no longer needed
Browse files Browse the repository at this point in the history
Modern maven versions now colour their output.
  • Loading branch information
jrha committed Nov 6, 2024
1 parent d7571ed commit 40587d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 143 deletions.
137 changes: 0 additions & 137 deletions src/releasing/maven-illuminate.sh

This file was deleted.

11 changes: 5 additions & 6 deletions src/releasing/releaser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ else
fi

shopt -s expand_aliases
source maven-illuminate.sh

# Update the Quattor version used by template-library-examples (SCDB-based) to the one being released
update_examples () {
Expand Down Expand Up @@ -62,11 +61,11 @@ publish_templates() {
tag=$2
cd configuration-modules-$1
git checkout $tag
mvn-c clean compile
mvn -e clean compile
# ugly hack
if [ -d ncm-metaconfig ]; then
cd ncm-metaconfig
mvn-c clean test
mvn -e clean test
cd ..
fi
components_root=${LIBRARY_CORE_DIR}/components
Expand Down Expand Up @@ -97,7 +96,7 @@ publish_aii() {
(
cd aii || return
git checkout "aii-$tag"
mvn-c -q clean compile
mvn -e -q clean compile

# Copy dedicated AII templates
cp -r aii-core/target/pan/quattor/aii/* "${dest_root}"
Expand All @@ -113,7 +112,7 @@ publish_aii() {
(
cd configuration-modules-core || return
git checkout "configuration-modules-core-$tag"
mvn-c -q clean compile
mvn -e -q clean compile
# Copy shared AII/core component templates
for component in freeipa opennebula; do
rm -Rf "${dest_root:?}/${component}"
Expand Down Expand Up @@ -267,7 +266,7 @@ if gpg-agent; then
for r in $REPOS_MVN; do
echo_info "---------------- Releasing $r ----------------"
cd $r
mvn-c -q -DautoVersionSubmodules=true -Dgpg.useagent=true -Darguments=-Dgpg.useagent=true -B -DreleaseVersion=$VERSION clean release:prepare
mvn -e -q -DautoVersionSubmodules=true -Dgpg.useagent=true -Darguments=-Dgpg.useagent=true -B -DreleaseVersion=$VERSION clean release:prepare
if [[ $? -gt 0 ]]; then
echo_error "RELEASE FAILURE"
exit 1
Expand Down

0 comments on commit 40587d8

Please sign in to comment.