From 5c3694871565395424497bb0a63e116f12368fb8 Mon Sep 17 00:00:00 2001 From: AshishRastogiAtExotel Date: Mon, 20 May 2024 15:14:18 +0530 Subject: [PATCH] makefile update --- Exotel-Voice-Sample/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Exotel-Voice-Sample/Makefile b/Exotel-Voice-Sample/Makefile index 61017ac..80405d2 100644 --- a/Exotel-Voice-Sample/Makefile +++ b/Exotel-Voice-Sample/Makefile @@ -1,14 +1,14 @@ PWD=$(shell pwd) get_latest_version_cmd := curl --silent https://github.com/exotel/exotel-voip-sdk-ios/releases | grep -o '\/tag\/.*' | awk -F'[<>]' '{print $$2}' | head -n 1 EXOTEL_SDK_VERSION := $(shell $(get_latest_version_cmd)) -GIT_URL := https://github.com/exotel/exotel-voip-sdk-ios/releases/download/$(EXOTEL_SDK_VERSION)/ExotelVoice.-$(EXOTEL_SDK_VERSION).xcframework.zip +GIT_URL := https://github.com/exotel/exotel-voip-sdk-ios/releases/download/$(EXOTEL_SDK_VERSION)/ExotelVoice-$(EXOTEL_SDK_VERSION).tar.gz clean : rm -rf ExotelVoice.xcframework deps: clean - curl -L $(GIT_URL) -o ExotelVoice.xcframework.zip - unzip -o ExotelVoice.xcframework.zip - rm -rf *.zip + curl -L $(GIT_URL) -o ExotelVoice.tar.gz + tar -xzf ExotelVoice.tar.gz + rm -rf *.tar.gz rm -rf __MACOSX echo "Latest version: $latest_version" \ No newline at end of file