From f1d75bca95fe944eb0b865625218ed19a806256a Mon Sep 17 00:00:00 2001 From: -- C4 -- Date: Sat, 7 Feb 2015 16:09:48 -0800 Subject: [PATCH] Updated Variables File destination, version numbers --- buildInstaller.sh | 6 +++--- buildPackageComponents.sh | 6 +++--- distribution.xml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/buildInstaller.sh b/buildInstaller.sh index 455c5b4..7595602 100755 --- a/buildInstaller.sh +++ b/buildInstaller.sh @@ -3,14 +3,14 @@ # Created by Travis Kirton on 14-06-02. # sets the version for the current installer -VERSION="0_01" +VERSION="0_02" # builds the component packages, passing the current version sh buildPackageComponents.sh $VERSION # defines the names of the component packages, this matches their names defined in the buildPackageComponents.sh script -TEMPLATES_PKG="INSTALL_TEMPLATES_$VERSION.pkg" -DOCSET_PKG="INSTALL_DOCSET_$VERSION.pkg" +TEMPLATES_PKG="INSTALL_TEMPLATES_0_02.pkg" +DOCSET_PKG="INSTALL_DOCSET_0_01.pkg" #builds the distribution xml productbuild --synthesize --package $TEMPLATES_PKG --package $DOCSET_PKG distribution.xml diff --git a/buildPackageComponents.sh b/buildPackageComponents.sh index 54f284f..c4c0bba 100755 --- a/buildPackageComponents.sh +++ b/buildPackageComponents.sh @@ -8,14 +8,14 @@ INSTALLER_VERSION="$1" PROJECT_TEMPLATES_VERSION="$1" PROJECT_TEMPLATES_LOCATION="./projectTemplates" -PROJECT_TEMPLATES_NAME="INSTALL_TEMPLATES_$TEMPLATES_VERSION.pkg" +PROJECT_TEMPLATES_NAME="INSTALL_TEMPLATES_0_02.pkg" #weird... using the TEMPLATES_DESTINATION variable doesn't work, but pasting it in does! #TEMPLATES_DESTINATION="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/Project Templates/Application" -pkgbuild --root $PROJECT_TEMPLATES_LOCATION --identifier com.c4ios.installer.templates --version $INSTALLER_VERSION --install-location /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/Project\ Templates/Application $PROJECT_TEMPLATES_NAME +pkgbuild --root $PROJECT_TEMPLATES_LOCATION --identifier com.c4ios.installer.templates --version $INSTALLER_VERSION --install-location /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/Project\ Templates/iOS/Application $PROJECT_TEMPLATES_NAME DOCSET_VERSION="$1" DOCSET_LOCATION="./docs" -DOCSET_NAME="INSTALL_DOCSET_$DOCSET_VERSION.pkg" +DOCSET_NAME="INSTALL_DOCSET_0_01.pkg" #weird... using the DOCSET_DESTINATION variable doesn't work, but pasting it in does! #DOCSET_DESTINATION="/Users/$USER/Desktop/Install/DocSets" pkgbuild --root "$DOCSET_LOCATION" --identifier com.c4ios.installer.docset --version $INSTALLER_VERSION --install-location /Users/$USER/Library/Developer/Shared/Documentation/DocSets/ $DOCSET_NAME diff --git a/distribution.xml b/distribution.xml index 9df5e56..cd65631 100644 --- a/distribution.xml +++ b/distribution.xml @@ -13,11 +13,11 @@ - INSTALL_TEMPLATES_0_01.pkg + INSTALL_TEMPLATES_0_02.pkg - INSTALL_DOCSET_0_01.pkg + INSTALL_DOCSET_0_01.pkg C4 Xcode Templates