Skip to content

Commit

Permalink
ignore mvnw and mvnw.cmd when uploading source code (Azure#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
smile37773 authored May 28, 2021
1 parent 8d78e35 commit fc12377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spring-cloud/azext_spring_cloud/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _pack_source_code(source_location, tar_file_path):

ignore_list, ignore_list_size = _load_gitignore_file(source_location)
common_vcs_ignore_list = {'.git', '.gitignore', 'bzrignore', '.hg',
'.hgignore', '.svn', '.circleci', 'target', 'docker'}
'.hgignore', '.svn', '.circleci', 'target', 'docker', 'mvnw', 'mvnw.cmd'}

def _ignore_check(tarinfo, parent_ignored, parent_matching_rule_index):
# ignore common vcs dir or file
Expand Down

0 comments on commit fc12377

Please sign in to comment.