Skip to content

Commit

Permalink
Merge pull request #328 from Shopify/version-regex
Browse files Browse the repository at this point in the history
Update Version regex
  • Loading branch information
tylerrowsell authored Sep 24, 2024
2 parents 1b1e4ff + d0a21c7 commit 6036553
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion schema/dist/attributes_schema.cue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#value_gid_regex: "^gid://shopify/TaxonomyValue/\\d+$"


#version_regex: "^\\d{4}-\\d{2}(-unstable)?$"
#version_regex: "^\\d{4}-\\d{2}(-(unstable|beta\\d+))?$"
version!: string & =~#version_regex

attributes!: [
Expand Down
2 changes: 1 addition & 1 deletion schema/dist/categories_schema.cue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ _category_reference: {
name!: string
}

#version_regex: "^\\d{4}-\\d{2}(-unstable)?$"
#version_regex: "^\\d{4}-\\d{2}(-(unstable|beta\\d+))?$"
version!: string & =~#version_regex
verticals!: [...{
name!: string
Expand Down
2 changes: 1 addition & 1 deletion schema/dist/mappings_schema.cue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#attribute_gid_regex: "^gid://shopify/TaxonomyAttribute/\\d+$"
#value_gid_regex: "^gid://shopify/TaxonomyValue/\\d+$"

#version_regex: "^\\d{4}-\\d{2}(-unstable)?$"
#version_regex: "^\\d{4}-\\d{2}(-(unstable|beta\\d+))?$"
version!: string & =~#version_regex
mappings!: [
...{
Expand Down

0 comments on commit 6036553

Please sign in to comment.