From f70a2273b6909d1b92fd4a2d33c3c2fbf5aea4c8 Mon Sep 17 00:00:00 2001 From: Zhuhao Wang Date: Thu, 24 Nov 2016 14:52:22 +0800 Subject: [PATCH] unshallow repo before release --- bin/release_app | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/release_app b/bin/release_app index 79afcd4..b630f7b 100755 --- a/bin/release_app +++ b/bin/release_app @@ -6,6 +6,7 @@ echo $P12_CERT | base64 -D > cert/cert.p12 sudo security unlock-keychain -p circle circle.keychain sudo security import cert/cert.p12 -k circle.keychain -P "" -T /usr/bin/codesign +[ -f $(git rev-parse --git-dir)/shallow ] && git fetch --unshallow gem install gym github-markup redcarpet --no-ri --no-rdoc gym ditto -c -k --sequesterRsrc --keepParent SpechtLite.app SpechtLite.zip