Skip to content

Commit

Permalink
fix(src/default.json5): remove extractVerisonTemplate because it cann…
Browse files Browse the repository at this point in the history
…ot be overridden (#59)

* fix(src/default.json5): remove extractVerisonTemplate because it cannot be overridden

* style: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
  • Loading branch information
risu729 and autofix-ci[bot] authored Jan 6, 2025
1 parent 98ac5db commit ba82642
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion default.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ node = "23.5.0"
cargo-binstall = "1.10.19" # cspell:ignore binstall
uv = "0.5.14"
"npm:semantic-release" = "24.2.1"
"aqua:biomejs/biome" = "1.9.4"
"aqua:biomejs/biome" = "1.9.3"
actionlint = "1.7.6"
# required for actionlint
shellcheck = "0.10.0"
Expand Down
1 change: 0 additions & 1 deletion src/default.json5
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
datasourceTemplate: "{{#if (equals datasource 'cargo')}}crate{{else}}\
{{#if (or (equals datasource 'ubi') (equals datasource 'aqua'))}}github-releases{{else}}{{datasource}}{{/if}}{{/if}}",
currentValueTemplate: "{{{replace '^v(.+)$' '$1' currentValue}}}",
extractVersionTemplate: "^v?(?<version>.+)",
matchStrings: [
// test: https://regex101.com/r/K6Imdx
"['\"](?<depName>(?<datasource>.+?):(?<packageName>.+?))['\"] *= *['\"](?<currentValue>.+?)['\"]",
Expand Down

0 comments on commit ba82642

Please sign in to comment.