mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
Include LICENSE.XXX files in the tarball
This commit is contained in:
parent
460cf29289
commit
bf4187016a
1 changed files with 2 additions and 0 deletions
|
@ -149,6 +149,8 @@ if __name__ == "__main__":
|
|||
|
||||
tar = tarfile.open(outname, 'w:xz')
|
||||
tar.add(files, release_name, filter=exclude_filter)
|
||||
for license in ['LICENSE.BSD', 'LICENSE.CC-BY-SA-4.0', 'LICENSE.LGPL-2.1', 'LICENSE.MIT', 'LICENSE.OPL']:
|
||||
tar.add(license, os.path.join(release_name, license))
|
||||
os.chdir(os.path.dirname(readme))
|
||||
tar.add(os.path.basename(readme), os.path.join(release_name, os.path.basename(readme)))
|
||||
tar.close()
|
||||
|
|
Loading…
Reference in a new issue