From c6dc2e0efc2bef457b1c08d050586b5dea36d31b Mon Sep 17 00:00:00 2001 From: eskild <42120229+iameskild@users.noreply.github.com> Date: Wed, 27 Sep 2023 16:07:28 -0700 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 577936c..8686ad7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,9 +23,10 @@ jobs: run: python -m pip install --upgrade pip build - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 + fetch-tags: true - name: Create tag # if present, remove leading `v` @@ -77,4 +78,4 @@ jobs: run: python -m build --sdist --wheel . - name: Publish package - uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file + uses: pypa/gh-action-pypi-publish@release/v1