From 1558e88dee432a765b76502650e1566b7491469e Mon Sep 17 00:00:00 2001 From: Lea Vauchier Date: Mon, 15 Apr 2024 10:48:19 +0200 Subject: [PATCH] Fix version fetching in ci --- .github/workflows/cicd.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index 68fe33e1..ae84c3d6 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -85,7 +85,7 @@ jobs: - name: Get version number id: tag run: | - echo "VERSION=$(python -m lidar_prod.version)" >> $GITHUB_ENV + echo "VERSION=$(docker run lidar_prod python -m lidar_prod.version)" >> $GITHUB_ENV echo "DATE=$(date '+%Y.%m.%d')" >> $GITHUB_ENV # show possible tags, for debugging purpose