From 298124a07920e9eeddfa9840285d61595030a851 Mon Sep 17 00:00:00 2001 From: Charles Cooper Date: Wed, 6 Sep 2023 17:33:55 -0400 Subject: [PATCH] fix: binary names in release build --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7243a054086..366dd8fde29 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: - uses: actions/checkout@v3 with: # grab the commit passed in via `tag`, if any - ref: ${{ github.event.inputs.tag }} + ref: ${{ github.event.release.tag_name || github.event.inputs.tag }} # need to fetch unshallow so that setuptools_scm can infer the version fetch-depth: 0 @@ -56,7 +56,7 @@ jobs: - uses: actions/checkout@v3 with: # grab the commit passed in via `tag`, if any - ref: ${{ github.event.inputs.tag }} + ref: ${{ github.event.release.tag_name || github.event.inputs.tag }} # need to fetch unshallow so that setuptools_scm can infer the version fetch-depth: 0