Skip to content

Commit 9e4648c

Browse files
committed
Check -preview and -pshopify tag order
1 parent c1ab542 commit 9e4648c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/shopify_ruby_definitions/test_ruby_versions.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ def test_ALL_VERSIONS
1616
\A
1717
(?:yjit\-)?
1818
\d+\.\d+\.\d+ # match version (e.g. 3.4.0)
19-
(?:\-[\w\-]+)?
19+
(?:\-preview\d*)? # match -preview optionally
20+
# preview tag must be before the pshopify tag
21+
(?:\-pshopify\d*)? # match -pshopify optionally
2022
\z
2123
}x,
2224
v,

0 commit comments

Comments
 (0)