Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Commit 9579f82

Browse files
committed
[codingtools] Ensure the CONTRIBUTING.md file is in the binary distributions
1 parent 16ea1d2 commit 9579f82

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

codingtools/make_release.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ def windows_executable_filter(tarinfo):
131131
if os.path.isdir(os.path.join(bam_dir, "bin")):
132132
tar.add(os.path.join(bam_dir, "bin"), filter=windows_executable_filter)
133133
tar.add(os.path.join(bam_dir, "Changelog.txt"))
134+
tar.add(os.path.join(bam_dir, "CONTRIBUTING.md"))
134135
tar.add(os.path.join(bam_dir, "env.bat"))
135136
tar.add(os.path.join(bam_dir, "env.sh"))
136137
tar.add(os.path.join(bam_dir, "MS-PL.md"))
@@ -160,6 +161,7 @@ def recursive_write(zip_object, dir_to_add):
160161
if os.path.isdir(os.path.join(bam_dir, "bin")):
161162
recursive_write(zip_object, os.path.join(bam_dir, "bin"))
162163
zip_object.write(os.path.join(bam_dir, "Changelog.txt"))
164+
zip_object.write(os.path.join(bam_dir, "CONTRIBUTING.md"))
163165
zip_object.write(os.path.join(bam_dir, "env.bat"))
164166
zip_object.write(os.path.join(bam_dir, "env.sh"))
165167
zip_object.write(os.path.join(bam_dir, "License.md"))

0 commit comments

Comments
 (0)