Skip to content

Commit

Permalink
qf поиска jar от проекта. в дальнейшем будет переписано на регулярное…
Browse files Browse the repository at this point in the history
… выражение.
  • Loading branch information
otymko committed Apr 1, 2020
1 parent c410a0b commit d513ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d513ba7

Please sign in to comment.