diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5d4198dd08f..66e05e20999 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -112,7 +112,7 @@ jobs: names = os.listdir(dir) for name in names: fullname = os.path.join(dir, name) - if os.path.isfile(fullname) and re.search(pattern, fullname) and fullname.find('sources.jar') == -1: + if os.path.isfile(fullname) and re.search(pattern, fullname) and fullname.find('sources.jar') == -1 and fullname.find('javadoc.jar') == -1: return ntpath.basename(fullname) return None