You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by ag...@apache.org on 2024/08/21 11:13:00 UTC
(datafusion-comet) branch main updated: chore: Use Git tag as Comet version when publishing Docker images (#857)
This is an automated email from the ASF dual-hosted git repository.
agrove pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-comet.git
The following commit(s) were added to refs/heads/main by this push:
new cddebc06 chore: Use Git tag as Comet version when publishing Docker images (#857)
cddebc06 is described below
commit cddebc064c8e1cd16202c01e9d5a34702e057233
Author: Andy Grove <ag...@apache.org>
AuthorDate: Wed Aug 21 05:12:57 2024 -0600
chore: Use Git tag as Comet version when publishing Docker images (#857)
---
.github/workflows/docker-publish.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml
index 54d3e68f..1c0280a7 100644
--- a/.github/workflows/docker-publish.yml
+++ b/.github/workflows/docker-publish.yml
@@ -44,8 +44,8 @@ jobs:
- name: Extract Comet version
id: extract_version
run: |
- COMET_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
- echo "COMET_VERSION=$COMET_VERSION" >> $GITHUB_ENV
+ # use the tag that triggered this workflow as the Comet version e.g. 0.2.0-rc1
+ echo "COMET_VERSION=${GITHUB_REF##*/}" >> $GITHUB_ENV
- name: Echo Comet version
run: echo "The current Comet version is ${{ env.COMET_VERSION }}"
- name: Set up Docker Buildx
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org