Skip to content

Commit eac10c0

Browse files
committed
Also recognize gz files in upload script
1 parent 57004e9 commit eac10c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

release/upload.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ fi
6565
function hash_files() {
6666
echo $(find -maxdepth 1 \
6767
-iname '*.xz' \
68+
-o -iname '*.gz' \
6869
-o -iname '*.lz' \
69-
-o -iname '*.bz2' \
7070
-o -iname '*.zip' \
7171
)
7272
echo $(find -maxdepth 1 -iname '*.patch')
@@ -120,7 +120,7 @@ function upload() {
120120
open -u hls-downloads: sftp://$host && \
121121
mirror -P20 -c --reverse --exclude=fetch-gitlab --exclude=out . hls/$dir && \
122122
wait all;"
123-
chmod ugo-w $(ls *.xz *.bz2 *.zip)
123+
chmod ugo-w $(ls *.xz *.gz *.zip)
124124
}
125125

126126
function purge_all() {

0 commit comments

Comments
 (0)