Skip to content

Commit

Permalink
Update publish-downloads.sh (#4534)
Browse files Browse the repository at this point in the history
(cherry picked from commit 32ec4c5)
  • Loading branch information
FalcoXYZ authored and MarekM25 committed Sep 15, 2022
1 parent 472c93f commit f872ac0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/deployment/publish-downloads.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ extension=${LIN_FILE##*.}

mv $LIN_FILE $filename_lin.$extension
mv $LIN_FILE.asc $filename_lin.$extension.asc
curl --fail-with-body -# -F "files=@${PWD}/${filename_lin}.${extension}" -F "files=@${PWD}/${filename_lin}.${extension}.asc" https://downloads.nethermind.io/files?apikey=$DOWNLOADS_PAGE
curl --fail -# -F "files=@${PWD}/${filename_lin}.${extension}" -F "files=@${PWD}/${filename_lin}.${extension}.asc" https://downloads.nethermind.io/files?apikey=$DOWNLOADS_PAGE
cd ..

cd $WIN_RELEASE
Expand All @@ -53,7 +53,7 @@ filename_win=${WIN_FILE::-13}
mv $WIN_FILE $filename_win.$extension
mv $WIN_FILE.asc $filename_win.$extension.asc

curl --fail-with-body -# -F "files=@${PWD}/${filename_win}.${extension}" -F "files=@${PWD}/${filename_win}.${extension}.asc" https://downloads.nethermind.io/files?apikey=$DOWNLOADS_PAGE
curl --fail -# -F "files=@${PWD}/${filename_win}.${extension}" -F "files=@${PWD}/${filename_win}.${extension}.asc" https://downloads.nethermind.io/files?apikey=$DOWNLOADS_PAGE
cd ..

cd $OSX_RELEASE
Expand All @@ -62,23 +62,23 @@ filename_osx=${OSX_FILE::-13}
mv $OSX_FILE $filename_osx.$extension
mv $OSX_FILE.asc $filename_osx.$extension.asc

curl --fail-with-body -# -F "files=@${PWD}/${filename_osx}.${extension}" -F "files=@${PWD}/${filename_osx}.${extension}.asc" https://downloads.nethermind.io/files?apikey=$DOWNLOADS_PAGE
curl --fail -# -F "files=@${PWD}/${filename_osx}.${extension}" -F "files=@${PWD}/${filename_osx}.${extension}.asc" https://downloads.nethermind.io/files?apikey=$DOWNLOADS_PAGE
cd ..

cd $LIN_ARM64_RELEASE
filename_lin_arm64=${LIN_ARM64_FILE::-13}

mv $LIN_ARM64_FILE $filename_lin_arm64.$extension
mv $LIN_ARM64_FILE.asc $filename_lin_arm64.$extension.asc
curl --fail-with-body -# -F "files=@${PWD}/${filename_lin_arm64}.${extension}" -F "files=@${PWD}/${filename_lin_arm64}.${extension}.asc" https://downloads.nethermind.io/files?apikey=$DOWNLOADS_PAGE
curl --fail -# -F "files=@${PWD}/${filename_lin_arm64}.${extension}" -F "files=@${PWD}/${filename_lin_arm64}.${extension}.asc" https://downloads.nethermind.io/files?apikey=$DOWNLOADS_PAGE
cd ..

cd $OSX_ARM64_RELEASE
filename_osx_arm64=${OSX_ARM64_FILE::-13}

mv $OSX_ARM64_FILE $filename_osx_arm64.$extension
mv $OSX_ARM64_FILE.asc $filename_osx_arm64.$extension.asc
curl --fail-with-body -# -F "files=@${PWD}/${filename_osx_arm64}.${extension}" -F "files=@${PWD}/${filename_osx_arm64}.${extension}.asc" https://downloads.nethermind.io/files?apikey=$DOWNLOADS_PAGE
curl --fail -# -F "files=@${PWD}/${filename_osx_arm64}.${extension}" -F "files=@${PWD}/${filename_osx_arm64}.${extension}.asc" https://downloads.nethermind.io/files?apikey=$DOWNLOADS_PAGE
cd ..

echo =======================================================
Expand Down

0 comments on commit f872ac0

Please sign in to comment.