Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gajim
gajim-plugins
Commits
4c2e4d20
Commit
4c2e4d20
authored
May 08, 2022
by
Philipp Hörist
Browse files
Script: Ignore images.zip
parent
5f754a6f
Pipeline
#9810
passed with stage
in 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
scripts/build_repository.py
View file @
4c2e4d20
...
...
@@ -49,6 +49,9 @@ def is_manifest_valid(manifest: Dict[str, Any]) -> bool:
def
iter_releases
(
release_folder
:
Path
)
->
Iterator
[
Dict
[
str
,
Any
]]:
for
path
in
release_folder
.
rglob
(
'*.zip'
):
with
ZipFile
(
path
)
as
release_zip
:
if
path
.
name
==
'images.zip'
:
continue
log
.
info
(
'Check path: %s'
,
path
)
try
:
with
release_zip
.
open
(
'plugin-manifest.json'
)
as
file
:
manifest
=
json
.
load
(
file
)
...
...
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