From a2e6293ba0219314e64cfc40e3209e0d521d3287 Mon Sep 17 00:00:00 2001 From: Brett Jia Date: Thu, 12 Oct 2023 20:52:22 -0400 Subject: [PATCH] pull tags before picking semver --- .github/workflows/release_python.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release_python.yml b/.github/workflows/release_python.yml index dec64eab..74d742a3 100644 --- a/.github/workflows/release_python.yml +++ b/.github/workflows/release_python.yml @@ -29,6 +29,9 @@ jobs: - name: Checkout uses: actions/checkout@v3 + - name: Get tags + run: git fetch --tags origin + - name: Download artifact uses: actions/download-artifact@v3 with: @@ -44,4 +47,4 @@ jobs: with: files: /tmp/python/python*.tar.gz tag_name: ${{ env.SELECTED_TAG }} - body: "Python ${{ inputs.python_version }}" \ No newline at end of file + body: "Python ${{ inputs.python_version }}"