Skip to content

Commit

Permalink
fix(pypi): add .tgz extension (renovatebot#29956)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins authored and bryannaegele committed Jul 8, 2024
1 parent b7e3823 commit 665b4f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/datasource/pypi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export class PypiDatasource extends Datasource {
// source packages
const srcText = PypiDatasource.normalizeName(text);
const srcPrefix = `${packageName}-`;
const srcSuffixes = ['.tar.gz', '.tar.bz2', '.tar.xz', '.zip'];
const srcSuffixes = ['.tar.gz', '.tar.bz2', '.tar.xz', '.zip', '.tgz'];
if (
srcText.startsWith(srcPrefix) &&
srcSuffixes.some((srcSuffix) => srcText.endsWith(srcSuffix))
Expand Down

0 comments on commit 665b4f7

Please sign in to comment.