Fix filename

This commit is contained in:
Piotr Rogowski 2022-11-03 22:48:40 +01:00
parent 4c9c86015c
commit fd7d151ecf
No known key found for this signature in database
GPG Key ID: 4A842D702D9C6F8F
1 changed files with 4 additions and 2 deletions

View File

@ -47,9 +47,11 @@ runs:
echo "Compressing..."
filename="gzipped/${signature// /_}.ini"
mkdir gzipped
gzip --best --keep ${INI_PATH}
mv ${INI_PATH}.gz gzipped/${signature}.ini
mv ${INI_PATH}.gz ${filename}
args=()
args+="--silent"
@ -79,7 +81,7 @@ runs:
args+="--header 'Authorization: Bearer ${token}'"
args+="--form 'signature=\"${signature}\"'"
args+="--form 'ecosystem=\"${ECOSYSTEM}\"'"
args+="--form 'file=@"gzipped/${signature}.ini"'"
args+="--form 'file=@"${filename}"'"
if [[ $found == 0 ]]; then
echo "Not found"