Permalink
Browse files

Update release script

  • Loading branch information...
LeoNatan committed Aug 9, 2018
1 parent a7598bb commit 3eab1b3b2227b01e4e8420c49935ac4631a5f29a
Showing with 1 addition and 1 deletion.
  1. +1 −1 releaseVersion.sh
View
@@ -67,7 +67,7 @@ rm -fr "${EXPORT_DIR}"
export CODE_SIGNING_REQUIRED=NO && xcodebuild -project DetoxInstruments/DetoxInstruments.xcodeproj -scheme "Detox Instruments" -configuration release archive -archivePath "${ARCHIVE}" | xcpretty
# xcodebuild -project DetoxInstruments/DetoxInstruments.xcodeproj -exportArchive -archivePath "${ARCHIVE}" -exportOptionsPlist Distribution/exportOptions.plist -exportPath "${EXPORT_DIR}" | xcpretty
mkdir -p "${EXPORT_DIR}"
mv -r "${ARCHIVE}"/Products/Applications/*.app "${EXPORT_DIR}"/
mv "${ARCHIVE}"/Products/Applications/*.app "${EXPORT_DIR}"/
SHORT_VERSION=$(/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" "${EXPORT_DIR}"/*.app/Contents/Info.plist)
BUILD_NUMBER=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "${EXPORT_DIR}"/*.app/Contents/Info.plist)

0 comments on commit 3eab1b3

Please sign in to comment.