From 7dc81a1af3c3d68eed6cfe275622e9b9c163cb63 Mon Sep 17 00:00:00 2001 From: Oz Tiram Date: Wed, 24 Jul 2024 15:44:35 +0200 Subject: [PATCH] v1.3.65 --- .github/workflows/release.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1d7b8b4..b3b7c29 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,8 +30,13 @@ jobs: git fetch --unshallow docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace debian:buster bash -c "apt-get update && apt install -y build-essential git pkg-config && git config --global --add safe.directory /workspace/mh && make -C mh deb-install-deps deb-export-archive deb-version deb-build" ls .. - - name: list files - run: ls -l + - name: Extract Git Tag + run: | + # Retrieve the current tag + VERSION=$(git describe --tags --abbrev=0) + # Strip the 'v' prefix if needed + VERSION=${VERSION#v} + echo "VERSION=$VERSION" >> $GITHUB_ENV - name: upload artifcat uses: actions/upload-artifact@v4 with: