You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2019/12/12 22:08:58 UTC
[incubator-streampipes] branch dev updated: STREAMPIPES-46: Modify
command to extract Maven version
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
The following commit(s) were added to refs/heads/dev by this push:
new 1d6b315 STREAMPIPES-46: Modify command to extract Maven version
1d6b315 is described below
commit 1d6b31566318ae78d04722a54fe01736141e2a59
Author: Dominik Riemer <ri...@fzi.de>
AuthorDate: Thu Dec 12 23:08:39 2019 +0100
STREAMPIPES-46: Modify command to extract Maven version
---
.github/workflows/build.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ede7d40..a4e9774 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -20,7 +20,7 @@ jobs:
run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u ${{ secrets.DOCKERHUB_USER }} --password-stdin
- name: Build Docker Backend Image
run: |
- MVN_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version | grep -v '\[')
+ MVN_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
BACKEND_IMAGE_NAME=apachestreampipes/backend:$MVN_VERSION
echo MVN_VERSION=$MVN_VERSION
echo BACKEND_IMAGE_NAME=$BACKEND_IMAGE_NAME