mirror of
https://github.com/haskell/haskell-language-server.git
synced 2024-09-11 16:56:14 +03:00
Also recognize gz files in upload script
This commit is contained in:
parent
57004e93ac
commit
eac10c0e25
@ -65,8 +65,8 @@ fi
|
|||||||
function hash_files() {
|
function hash_files() {
|
||||||
echo $(find -maxdepth 1 \
|
echo $(find -maxdepth 1 \
|
||||||
-iname '*.xz' \
|
-iname '*.xz' \
|
||||||
|
-o -iname '*.gz' \
|
||||||
-o -iname '*.lz' \
|
-o -iname '*.lz' \
|
||||||
-o -iname '*.bz2' \
|
|
||||||
-o -iname '*.zip' \
|
-o -iname '*.zip' \
|
||||||
)
|
)
|
||||||
echo $(find -maxdepth 1 -iname '*.patch')
|
echo $(find -maxdepth 1 -iname '*.patch')
|
||||||
@ -120,7 +120,7 @@ function upload() {
|
|||||||
open -u hls-downloads: sftp://$host && \
|
open -u hls-downloads: sftp://$host && \
|
||||||
mirror -P20 -c --reverse --exclude=fetch-gitlab --exclude=out . hls/$dir && \
|
mirror -P20 -c --reverse --exclude=fetch-gitlab --exclude=out . hls/$dir && \
|
||||||
wait all;"
|
wait all;"
|
||||||
chmod ugo-w $(ls *.xz *.bz2 *.zip)
|
chmod ugo-w $(ls *.xz *.gz *.zip)
|
||||||
}
|
}
|
||||||
|
|
||||||
function purge_all() {
|
function purge_all() {
|
||||||
|
Loading…
Reference in New Issue
Block a user