You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2021/03/11 23:21:24 UTC

[isis-app-simpleapp] branch jdo-SNAPSHOT updated: debugging build

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch jdo-SNAPSHOT
in repository https://gitbox.apache.org/repos/asf/isis-app-simpleapp.git


The following commit(s) were added to refs/heads/jdo-SNAPSHOT by this push:
     new cf1b59f  debugging build
cf1b59f is described below

commit cf1b59fa78bfe4f8c27da5f4183358a1c2969f13
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Thu Mar 11 23:21:14 2021 +0000

    debugging build
---
 .github/workflows/mavenJdk8.yml | 39 ++++++++++++++++++++-------------------
 1 file changed, 20 insertions(+), 19 deletions(-)

diff --git a/.github/workflows/mavenJdk8.yml b/.github/workflows/mavenJdk8.yml
index 49e18ba..b50651d 100644
--- a/.github/workflows/mavenJdk8.yml
+++ b/.github/workflows/mavenJdk8.yml
@@ -60,26 +60,27 @@ jobs:
           export REVISION=$(curl -X GET "https://nexus.incode.work/service/rest/v1/search?sort=version&repository=nightly-builds&group=org.apache.isis.app&name=isis-app-starter-parent" -H "accept: application/json" -s | jq '.items[0].version' | sed 's/"//g')
           mvn versions:update-parent -DparentVersion=$REVISION
         fi
-        BASELINE=$(cat pom.xml | grep "<version>" | head -1 | awk -F'>' '{print $2}' | awk -F'<' '{print $1}')
-        SHA_ID=$(echo $GITHUB_SHA | cut -c1-8)
-        export REVISION=${BASELINE}.$(date +%Y%m%d-%H%M)-${SHA_ID}
-        mvn versions:set -DnewVersion=$REVISION
-
-    - name: Print pom.xml
-      shell: bash
-      run: |
         cat pom.xml
+#        BASELINE=$(cat pom.xml | grep "<version>" | head -1 | awk -F'>' '{print $2}' | awk -F'<' '{print $1}')
+#        SHA_ID=$(echo $GITHUB_SHA | cut -c1-8)
+#        export REVISION=${BASELINE}.$(date +%Y%m%d-%H%M)-${SHA_ID}
+#        mvn versions:set -DnewVersion=$REVISION
 
-    - name: Build with Maven
-      shell: bash
-      run: |
-        mvn install
-
-# uncomment and set environment variables to push to Docker registry
-#    - name: Build and Push Docker Image
+#    - name: Print pom.xml
+#      shell: bash
+#      run: |
+#        cat pom.xml
+#
+#    - name: Build with Maven
 #      shell: bash
 #      run: |
-#        export REVISION=...
-#        export DOCKER_REGISTRY_USERNAME
-#        export DOCKER_REGISTRY_PASSWORD
-#        mvn -pl webapp -Ddocker jib:build
+#        mvn install
+#
+## uncomment and set environment variables to push to Docker registry
+##    - name: Build and Push Docker Image
+##      shell: bash
+##      run: |
+##        export REVISION=...
+##        export DOCKER_REGISTRY_USERNAME
+##        export DOCKER_REGISTRY_PASSWORD
+##        mvn -pl webapp -Ddocker jib:build