Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
GStreamer
gst-docs
Commits
bf418701
Commit
bf418701
authored
Sep 03, 2020
by
Sebastian Dröge
🍵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include LICENSE.XXX files in the tarball
parent
460cf292
Pipeline
#198776
failed with stages
in 11 minutes and 41 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
scripts/release.py
scripts/release.py
+2
-0
No files found.
scripts/release.py
View file @
bf418701
...
...
@@ -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
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment