From efb0341a4153999ea9f6124eb5c93d09ad729b5c Mon Sep 17 00:00:00 2001 From: david gauchard Date: Sun, 16 May 2021 03:17:15 +0200 Subject: [PATCH] ditto on the draft action file (#8037) --- .github/workflows/tag-to-draft-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tag-to-draft-release.yml b/.github/workflows/tag-to-draft-release.yml index 265b709f7a..7830743318 100644 --- a/.github/workflows/tag-to-draft-release.yml +++ b/.github/workflows/tag-to-draft-release.yml @@ -18,13 +18,14 @@ jobs: - uses: actions/checkout@v2 with: submodules: true + fetch-depth: 0 - uses: actions/setup-python@v2 with: python-version: '3.x' - name: Set GIT tag name run: | # Sets an environment variable used in the next steps - echo "::set-env name=TRAVIS_TAG::$(git describe --exact-match --tags)" + echo "TRAVIS_TAG=$(git describe --exact-match --tags)" >> $GITHUB_ENV - name: Build package JSON env: TRAVIS_BUILD_DIR: ${{ github.workspace }}