From ba7a0dc761a1cefdc6119017243250ea3a6d4cf4 Mon Sep 17 00:00:00 2001 From: rakeshkumar1019 Date: Mon, 18 Mar 2024 12:51:00 +0530 Subject: [PATCH] latest tag --- .github/workflows/veracode-build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/veracode-build.yml b/.github/workflows/veracode-build.yml index e9cb6412fa..12b567a813 100644 --- a/.github/workflows/veracode-build.yml +++ b/.github/workflows/veracode-build.yml @@ -57,6 +57,12 @@ jobs: runs-on: [self-hosted, master] steps: + + - name: Determine latest tag + id: latest_tag + run: | + echo "::set-output name=TAG::$(git describe --tags `git rev-list --tags --max-count=1`)" + echo nuxeo-web-ui-${{ steps.latest_tag.outputs.TAG }}.zip # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it and copies all sources into ZIP file for submitting for analysis. Replace this section with your applications build steps - uses: actions/checkout@v2 with: