From 445584bb1be3ec452e1a198a6220108516d661d1 Mon Sep 17 00:00:00 2001 From: Anton Palgunov Date: Thu, 14 May 2020 00:42:08 +0100 Subject: [PATCH 1/3] Added xcpretty for test and build scripts --- build.sh | 6 ++++-- test.sh | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/build.sh b/build.sh index cc5f8ee..a28d539 100755 --- a/build.sh +++ b/build.sh @@ -1,16 +1,18 @@ +# INSTALL xcpretty: sudo gem install xcpretty + NAME='MTMR' rm -r Release 2>/dev/null xcodebuild archive \ -scheme "$NAME" \ - -archivePath Release/App.xcarchive + -archivePath Release/App.xcarchive | xcpretty -c xcodebuild \ -exportArchive \ -archivePath Release/App.xcarchive \ -exportOptionsPlist export-options.plist \ - -exportPath Release + -exportPath Release | xcpretty -c cd Release rm -r App.xcarchive diff --git a/test.sh b/test.sh index ade0dd7..c140089 100755 --- a/test.sh +++ b/test.sh @@ -1,3 +1,4 @@ +# INSTALL xcpretty: sudo gem install xcpretty NAME='MTMR' killall $NAME @@ -11,13 +12,13 @@ rm -r Release 2>/dev/null xcodebuild archive \ -scheme "$NAME" \ - -archivePath Release/App.xcarchive + -archivePath Release/App.xcarchive | xcpretty xcodebuild \ -exportArchive \ -archivePath Release/App.xcarchive \ -exportOptionsPlist export-options.plist \ - -exportPath Release + -exportPath Release | xcpretty cd Release rm -r App.xcarchive From bc11728c2e77fda561bd3e76ee89d5de59c37c8b Mon Sep 17 00:00:00 2001 From: Anton Palgunov Date: Thu, 14 May 2020 00:44:10 +0100 Subject: [PATCH 2/3] Standard english date for build script --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index a28d539..70993f8 100755 --- a/build.sh +++ b/build.sh @@ -22,7 +22,7 @@ NAME_DMG="${NAME}.app" echo $NAME_DMG create-dmg $NAME_DMG -DATE=`date +"%a, %d %b %Y %H:%M:%S %z"` +DATE=`LC_ALL=en_US.utf8 date +"%a, %d %b %Y %H:%M:%S %z"` BUILD=`/usr/libexec/PlistBuddy -c "Print CFBundleVersion" ${NAME}.app/Contents/Info.plist` VERSION=`/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" ${NAME}.app/Contents/Info.plist` MINIMUM=`/usr/libexec/PlistBuddy -c "Print LSMinimumSystemVersion" ${NAME}.app/Contents/Info.plist` From 1e1ae2af61ba11c969786a8ee49cb4e97f98f17b Mon Sep 17 00:00:00 2001 From: Anton Palgunov Date: Thu, 14 May 2020 00:49:53 +0100 Subject: [PATCH 3/3] Release version 0.26 --- MTMR/Info.plist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MTMR/Info.plist b/MTMR/Info.plist index 8ee6ef2..a505c36 100644 --- a/MTMR/Info.plist +++ b/MTMR/Info.plist @@ -17,9 +17,9 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.25 + 0.26 CFBundleVersion - 385 + 401 LSApplicationCategoryType public.app-category.utilities LSMinimumSystemVersion