You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2020/10/28 08:12:16 UTC
[isis] branch master updated: ISIS-2455: extend version rewriting
to 'isis-parent' which is no longer referenced directly by the root pom
This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/master by this push:
new 8a7f477 ISIS-2455: extend version rewriting to 'isis-parent' which is no longer referenced directly by the root pom
8a7f477 is described below
commit 8a7f47773878550430d5e20600a948bda428def3
Author: Andi Huber <ah...@apache.org>
AuthorDate: Wed Oct 28 09:11:22 2020 +0100
ISIS-2455: extend version rewriting to 'isis-parent' which is no longer
referenced directly by the root pom
---
scripts/ci/build-core.sh | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/scripts/ci/build-core.sh b/scripts/ci/build-core.sh
index 5f376d5..1c1c224 100644
--- a/scripts/ci/build-core.sh
+++ b/scripts/ci/build-core.sh
@@ -52,14 +52,16 @@ if [ ! -z "$REVISION" ]; then
| fgrep --line-buffered -v "Downloading from DataNucleus_2" \
| fgrep --line-buffered -v "Downloaded from DataNucleus_2"
- cd $PROJECT_ROOT_PATH/starters
echo ""
echo ""
- echo ">>> sed'ing version in starters ..."
+ echo ">>> sed'ing version in starters and parent ..."
echo ""
echo ""
+ cd $PROJECT_ROOT_PATH/starters
CURR=$(grep "<version>" pom.xml | head -1 | cut -d'>' -f2 | cut -d'<' -f1)
sed -i "s|<version>$CURR</version>|<version>$REVISION</version>|g" pom.xml
+ cd $PROJECT_ROOT_PATH/isis-parent
+ sed -i "s|<version>$CURR</version>|<version>$REVISION</version>|g" pom.xml
fi
cd $PROJECT_ROOT_PATH
@@ -107,12 +109,15 @@ if [ ! -z "$REVISION" ]; then
| fgrep --line-buffered -v "Downloading from DataNucleus_2" \
| fgrep --line-buffered -v "Downloaded from DataNucleus_2"
- cd $PROJECT_ROOT_PATH/starters
+
echo ""
echo ""
- echo ">>> sed'ing to revert version in starters ..."
+ echo ">>> sed'ing to revert version in starters and parent ..."
echo ""
echo ""
+ cd $PROJECT_ROOT_PATH/starters
+ sed -i "s|<version>$REVISION</version>|<version>$CURR</version>|g" pom.xml
+ cd $PROJECT_ROOT_PATH/isis-parent
sed -i "s|<version>$REVISION</version>|<version>$CURR</version>|g" pom.xml
fi