From b238c31afcb2f914d2e69cdaf18aae63847bbe18 Mon Sep 17 00:00:00 2001 From: Perry Hertler Date: Thu, 14 Aug 2025 18:28:42 -0500 Subject: [PATCH] allow for pre-releases --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 115b21d..8fd242a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -89,7 +89,7 @@ - name: Ensure version matches the tag run: | - GEM_VERSION=$(grep -Eo "[0-9]+\.[0-9]+\.[0-9]+" lib/fast_code_owners/version.rb | head -n 1) + GEM_VERSION=$(grep -Eo "[0-9]+\.[0-9]+\.[0-9]+[-0-9]*" lib/code_ownership/version.rb | head -n 1) if [ "v$GEM_VERSION" != "${{ github.ref_name }}" ]; then echo "Gem version does not match tag" echo " v$GEM_VERSION != ${{ github.ref_name }}"