Skip to content

Commit b238c31

Browse files
committed
allow for pre-releases
1 parent ffac2f5 commit b238c31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989

9090
- name: Ensure version matches the tag
9191
run: |
92-
GEM_VERSION=$(grep -Eo "[0-9]+\.[0-9]+\.[0-9]+" lib/fast_code_owners/version.rb | head -n 1)
92+
GEM_VERSION=$(grep -Eo "[0-9]+\.[0-9]+\.[0-9]+[-0-9]*" lib/code_ownership/version.rb | head -n 1)
9393
if [ "v$GEM_VERSION" != "${{ github.ref_name }}" ]; then
9494
echo "Gem version does not match tag"
9595
echo " v$GEM_VERSION != ${{ github.ref_name }}"

0 commit comments

Comments
 (0)