mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
scripts/release: fix license files paths
The previous version only worked when the script was run from the root source directory Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-docs/-/merge_requests/165>
This commit is contained in:
parent
4aa734919f
commit
27d4c5157d
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ 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))
|
||||
tar.add(os.path.join(HERE, '..', 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