From 2236ff417190456bbd204cd80e75c3e881438214 Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Tue, 26 Feb 2013 09:10:57 +0100 Subject: [PATCH] removed unused code --- release.macx.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/release.macx.sh b/release.macx.sh index 44fc5eed..f3595d74 100755 --- a/release.macx.sh +++ b/release.macx.sh @@ -125,17 +125,17 @@ addQtTranslations cp -R resources/customizations $PRODUCT_DIR/Open-Sankore.app/Contents/Resources -notify "Tagging ..." VERSION=`cat "$BUILD_DIR/version"` if [ ! -f "$BUILD_DIR/version" ]; then echo "version not found" exit 1 else + notify "Tagging ..." LAST_COMMITED_VERSION="`git describe $(git rev-list --tags --max-count=1)`" if [ "v$VERSION" != "$LAST_COMMITED_VERSION" ]; then echo creating a tag with the version $VERSION - #git tag -a "v$VERSION" -m "Generated setup for v$VERSION" - #git push origin --tags + git tag -a "v$VERSION" -m "Generated setup for v$VERSION" + git push origin --tags fi fi @@ -156,9 +156,6 @@ INFO_PLIST="$APP/Contents/Info.plist" rm -f "$APP/Contents/Resources/empty.lproj" -notify "Removing .svn directories ..." -find "$APP" -name .svn -exec rm -rf {} \; 2> /dev/null - # set various version infomration in Info.plist $PLISTBUDDY -c "Set :CFBundleVersion $VERSION" "$INFO_PLIST" $PLISTBUDDY -c "Set :CFBundleShortVersionString $VERSION" "$INFO_PLIST"