From 299e5746283ae2160ab7e63c0f716d73cba8b265 Mon Sep 17 00:00:00 2001 From: Morty Space Date: Tue, 17 May 2022 21:28:47 +0200 Subject: [PATCH] ci: pull all commits --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 72133f8..023a883 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -98,13 +98,16 @@ jobs: python-version: '3.10' - name: Checkout code uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Release env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} REPOSITORY_USERNAME: '__token__' REPOSITORY_PASSWORD: ${{ secrets.REPOSITORY_PASSWORD }} run: | + git fetch --depth=1 origin +refs/tags/*:refs/tags/* pip install python-semantic-release git config user.name github-actions git config user.email github-actions@github.com - semantic-release publish -v DEBUG + semantic-release publish