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/05/20 07:57:18 UTC
[isis] branch master updated: ISIS-2341: trying to fix jib build
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 3563520 ISIS-2341: trying to fix jib build
3563520 is described below
commit 35635205cd1036d8e272f90972abb8ac2b72297e
Author: Andi Huber <ah...@apache.org>
AuthorDate: Wed May 20 09:57:07 2020 +0200
ISIS-2341: trying to fix jib build
---
scripts/ci/build-demo-app.sh | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/scripts/ci/build-demo-app.sh b/scripts/ci/build-demo-app.sh
index 9c344d7..90de56e 100644
--- a/scripts/ci/build-demo-app.sh
+++ b/scripts/ci/build-demo-app.sh
@@ -47,23 +47,27 @@ echo "\$Isis Version: ${ISIS_VERSION}"
echo ""
function setRevision() {
+ local dir=core-parent
+
#
# set version (but just for the modules we need to build)
#
if [ ! -z "$REVISION" ]; then
- cd $PROJECT_ROOT_PATH/core-parent
- mvn versions:set -DnewVersion=$REVISION -Ddemo-app-module
+ cd $PROJECT_ROOT_PATH/${dir}
+ mvn versions:set -DnewVersion=$REVISION -P demo-app-module
cd $PROJECT_ROOT_PATH
fi
}
function revertRevision() {
+ local dir=core-parent
+
#
# revert the version (but just for the modules we need to build)
#
if [ ! -z "$REVISION" ]; then
- cd $PROJECT_ROOT_PATH/core-parent
- mvn versions:revert -DnewVersion=$REVISION -Ddemo-app-module
+ cd $PROJECT_ROOT_PATH/${dir}
+ mvn versions:revert -DnewVersion=$REVISION -P demo-app-module
cd $PROJECT_ROOT_PATH
fi
}