From 6ef74da0652d9c7628b85fea90a8e7bf59d38d51 Mon Sep 17 00:00:00 2001 From: Morty Space Date: Thu, 26 May 2022 17:35:04 +0200 Subject: [PATCH] ci: updated git commands for release --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2644ccb..217f745 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -103,7 +103,8 @@ jobs: REPOSITORY_USERNAME: '__token__' REPOSITORY_PASSWORD: ${{ secrets.REPOSITORY_PASSWORD }} run: | - git fetch --depth=1 origin +refs/tags/*:refs/tags/* + git fetch --all --depth=1 origin +refs/tags/*:refs/tags/* + git reset --hard origin/main pip install python-semantic-release git config user.name github-actions git config user.email github-actions@github.com