From 17512ec8386653066dec9f0f1f4d1804ace31bf0 Mon Sep 17 00:00:00 2001 From: Christopher Lowenthal Date: Mon, 31 Oct 2022 16:45:10 -0400 Subject: [PATCH] sets fetch-depth to 0 for verison script --- .github/workflows/release.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 80b061442..23f58008d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,10 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - run: pwd - - run: ls -alt - - run: git pull --tags - - run: git tag -l + with: + fetch-depth: 0 - run: | current=$(git describe --tags | grep -Eo '[0-9]*?\.[0-9]*?\.[0-9]*') array=($(echo $current | tr '.' '\n'))