From a9bd5fe10b7ff859b8db436fb876b82e1b875f0b Mon Sep 17 00:00:00 2001 From: Pio Rasch-Halvorsen Date: Tue, 19 May 2020 11:11:36 +0200 Subject: [PATCH] fix(ci): make git history available to release action --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1535af19448..c5981cf42ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,6 +14,8 @@ jobs: uses: actions/checkout@v2 with: token: ${{ secrets.BOT_PUBLISH_TOKEN }} + fetch-depth: "0" # fetch entire git history + - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* # fetch version tags - name: Configure CI Git User run: |