Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add custom versioning matchers #305

Merged
merged 6 commits into from
Aug 29, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
keep it simple for now
  • Loading branch information
stavros-k committed Aug 29, 2024
commit 7c4ced72727c0c1f3d6c1f62874b4a062190b283
13 changes: 3 additions & 10 deletions .github/renovate-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,10 @@ module.exports = {
],
};

const customVersioning = (versioningRegex, packages, isPrefixes = false) => {
const result = {
const customVersioning = (versioningRegex, packages) => {
return {
matchDatasources: ["docker"],
versioning: `regex:${versioningRegex}`,
matchPackageNames: packages,
};

if (isPrefixes) {
result.matchPackagePrefixes = [packages];
} else {
result.matchPackageNames = [packages];
}

return result;
};
Loading