Skip to content

Commit

Permalink
Merge pull request #321 from ant-media/feature/download-latest-from-s3
Browse files Browse the repository at this point in the history
Add installation script to download the latest version from S3
  • Loading branch information
mekya authored Dec 18, 2024
2 parents 84d630d + 1842901 commit c71d8f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install_ant-media-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ if [ -z "$ANT_MEDIA_SERVER_ZIP_FILE" ]; then
curl --progress-bar -o ams_community.zip -L "$(curl -s -H "Accept: application/vnd.github+json" https://api.github.com/repos/ant-media/Ant-Media-Server/releases/latest | jq -r '.assets[0].browser_download_url')"
ANT_MEDIA_SERVER_ZIP_FILE="ams_community.zip"
elif [ -n "${LICENSE_KEY}" ]; then
check_license=$(curl -s https://api.antmedia.io/?license="${LICENSE_KEY}" | tr -d "\"")
check_license=$(curl -s https://api-v2.antmedia.io/?license="${LICENSE_KEY}" | tr -d "\"")
if [ "$check_license" == "401" ]; then
echo "Invalid license key. Please check your license key."
exit 1
Expand Down

0 comments on commit c71d8f2

Please sign in to comment.