Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
Changed order of copying podspec file step.
Browse files Browse the repository at this point in the history
  • Loading branch information
tanersener committed Jun 30, 2018
1 parent 6885e0a commit 3e64017
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tools/release/ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ create_package() {
mkdir ${CURRENT_PACKAGE} || exit 1

cp -r ${SOURCE_PACKAGE}/* ${CURRENT_PACKAGE} || exit 1
cp ${BASEDIR}/ios/${PACKAGE_NAME}.podspec ${CURRENT_PACKAGE} || exit 1
sed -i '' "s/VERSION/${PACKAGE_VERSION}/g" ${CURRENT_PACKAGE}/${PACKAGE_NAME}.podspec || exit 1
cd ${CURRENT_PACKAGE} || exit 1
zip -r "../mobile-ffmpeg-$1-$2-ios-framework.zip" * || exit 1

# COPY PODSPEC AS THE LAST ITEM
cp ${BASEDIR}/ios/${PACKAGE_NAME}.podspec ${CURRENT_PACKAGE} || exit 1
sed -i '' "s/VERSION/${PACKAGE_VERSION}/g" ${CURRENT_PACKAGE}/${PACKAGE_NAME}.podspec || exit 1
}

if [ $# -ne 1 ];
Expand Down

0 comments on commit 3e64017

Please sign in to comment.