Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Initial commit

  • Loading branch information...
commit 3a7595269dba58995715e03e49a07c5d6bc92b91 0 parents
@scottdensmore authored
29 .gitignore
@@ -0,0 +1,29 @@
+# Ignore the Mac OS X .DS_Store files
+.DS_Store
+
+# Ignore user-specific settings
+*.mode1v3
+*.mode2v3
+*.pbxuser
+*.perspectivev3
+*.xcworkspace
+xcuserdata
+
+#Ignore textmate build errors
+*.tm_build_errors
+
+#Ignore temp nibs and swap files
+*.swp
+*~.nib
+
+# Ignore the build, since we don't want archived builds
+build
+
+# Probably don't want to check in xcuserdata
+xcuserdata/
+*.xcworkspace/
+
+# Other
+Documentation
+DerivedData
+ocunit.xml
292 BuildNumberTest.xcodeproj/project.pbxproj
@@ -0,0 +1,292 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ DEEFA61713D6A17400B2E579 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DEEFA61613D6A17400B2E579 /* Cocoa.framework */; };
+ DEEFA62113D6A17400B2E579 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = DEEFA61F13D6A17400B2E579 /* InfoPlist.strings */; };
+ DEEFA62413D6A17400B2E579 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = DEEFA62313D6A17400B2E579 /* main.m */; };
+ DEEFA62713D6A17400B2E579 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = DEEFA62513D6A17400B2E579 /* Credits.rtf */; };
+ DEEFA62A13D6A17400B2E579 /* BuildNumberTestAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = DEEFA62913D6A17400B2E579 /* BuildNumberTestAppDelegate.m */; };
+ DEEFA62D13D6A17400B2E579 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = DEEFA62B13D6A17400B2E579 /* MainMenu.xib */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+ DEEFA61213D6A17400B2E579 /* BuildNumberTest.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BuildNumberTest.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ DEEFA61613D6A17400B2E579 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
+ DEEFA61913D6A17400B2E579 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
+ DEEFA61A13D6A17400B2E579 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
+ DEEFA61B13D6A17400B2E579 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ DEEFA61E13D6A17400B2E579 /* BuildNumberTest-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "BuildNumberTest-Info.plist"; sourceTree = "<group>"; };
+ DEEFA62013D6A17400B2E579 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ DEEFA62213D6A17400B2E579 /* BuildNumberTest-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "BuildNumberTest-Prefix.pch"; sourceTree = "<group>"; };
+ DEEFA62313D6A17400B2E579 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ DEEFA62613D6A17400B2E579 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = "<group>"; };
+ DEEFA62813D6A17400B2E579 /* BuildNumberTestAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = BuildNumberTestAppDelegate.h; sourceTree = "<group>"; };
+ DEEFA62913D6A17400B2E579 /* BuildNumberTestAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BuildNumberTestAppDelegate.m; sourceTree = "<group>"; };
+ DEEFA62C13D6A17400B2E579 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ DEEFA60F13D6A17400B2E579 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ DEEFA61713D6A17400B2E579 /* Cocoa.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ DEEFA60713D6A17400B2E579 = {
+ isa = PBXGroup;
+ children = (
+ DEEFA61C13D6A17400B2E579 /* BuildNumberTest */,
+ DEEFA61513D6A17400B2E579 /* Frameworks */,
+ DEEFA61313D6A17400B2E579 /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ DEEFA61313D6A17400B2E579 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ DEEFA61213D6A17400B2E579 /* BuildNumberTest.app */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ DEEFA61513D6A17400B2E579 /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ DEEFA61613D6A17400B2E579 /* Cocoa.framework */,
+ DEEFA61813D6A17400B2E579 /* Other Frameworks */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ DEEFA61813D6A17400B2E579 /* Other Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ DEEFA61913D6A17400B2E579 /* AppKit.framework */,
+ DEEFA61A13D6A17400B2E579 /* CoreData.framework */,
+ DEEFA61B13D6A17400B2E579 /* Foundation.framework */,
+ );
+ name = "Other Frameworks";
+ sourceTree = "<group>";
+ };
+ DEEFA61C13D6A17400B2E579 /* BuildNumberTest */ = {
+ isa = PBXGroup;
+ children = (
+ DEEFA62813D6A17400B2E579 /* BuildNumberTestAppDelegate.h */,
+ DEEFA62913D6A17400B2E579 /* BuildNumberTestAppDelegate.m */,
+ DEEFA62B13D6A17400B2E579 /* MainMenu.xib */,
+ DEEFA61D13D6A17400B2E579 /* Supporting Files */,
+ );
+ path = BuildNumberTest;
+ sourceTree = "<group>";
+ };
+ DEEFA61D13D6A17400B2E579 /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ DEEFA61E13D6A17400B2E579 /* BuildNumberTest-Info.plist */,
+ DEEFA61F13D6A17400B2E579 /* InfoPlist.strings */,
+ DEEFA62213D6A17400B2E579 /* BuildNumberTest-Prefix.pch */,
+ DEEFA62313D6A17400B2E579 /* main.m */,
+ DEEFA62513D6A17400B2E579 /* Credits.rtf */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ DEEFA61113D6A17400B2E579 /* BuildNumberTest */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = DEEFA63013D6A17400B2E579 /* Build configuration list for PBXNativeTarget "BuildNumberTest" */;
+ buildPhases = (
+ DEEFA60E13D6A17400B2E579 /* Sources */,
+ DEEFA60F13D6A17400B2E579 /* Frameworks */,
+ DEEFA61013D6A17400B2E579 /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = BuildNumberTest;
+ productName = BuildNumberTest;
+ productReference = DEEFA61213D6A17400B2E579 /* BuildNumberTest.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ DEEFA60913D6A17400B2E579 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ ORGANIZATIONNAME = "Scott Densmore";
+ };
+ buildConfigurationList = DEEFA60C13D6A17400B2E579 /* Build configuration list for PBXProject "BuildNumberTest" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = DEEFA60713D6A17400B2E579;
+ productRefGroup = DEEFA61313D6A17400B2E579 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ DEEFA61113D6A17400B2E579 /* BuildNumberTest */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ DEEFA61013D6A17400B2E579 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ DEEFA62113D6A17400B2E579 /* InfoPlist.strings in Resources */,
+ DEEFA62713D6A17400B2E579 /* Credits.rtf in Resources */,
+ DEEFA62D13D6A17400B2E579 /* MainMenu.xib in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ DEEFA60E13D6A17400B2E579 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ DEEFA62413D6A17400B2E579 /* main.m in Sources */,
+ DEEFA62A13D6A17400B2E579 /* BuildNumberTestAppDelegate.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ DEEFA61F13D6A17400B2E579 /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ DEEFA62013D6A17400B2E579 /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+ DEEFA62513D6A17400B2E579 /* Credits.rtf */ = {
+ isa = PBXVariantGroup;
+ children = (
+ DEEFA62613D6A17400B2E579 /* en */,
+ );
+ name = Credits.rtf;
+ sourceTree = "<group>";
+ };
+ DEEFA62B13D6A17400B2E579 /* MainMenu.xib */ = {
+ isa = PBXVariantGroup;
+ children = (
+ DEEFA62C13D6A17400B2E579 /* en */,
+ );
+ name = MainMenu.xib;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ DEEFA62E13D6A17400B2E579 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = DEBUG;
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.6;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = macosx;
+ };
+ name = Debug;
+ };
+ DEEFA62F13D6A17400B2E579 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.6;
+ SDKROOT = macosx;
+ };
+ name = Release;
+ };
+ DEEFA63113D6A17400B2E579 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ COPY_PHASE_STRIP = NO;
+ CURRENT_PROJECT_VERSION = 1;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "BuildNumberTest/BuildNumberTest-Prefix.pch";
+ INFOPLIST_FILE = "BuildNumberTest/BuildNumberTest-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ VERSIONING_SYSTEM = "apple-generic";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ DEEFA63213D6A17400B2E579 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ COPY_PHASE_STRIP = YES;
+ CURRENT_PROJECT_VERSION = 1;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "BuildNumberTest/BuildNumberTest-Prefix.pch";
+ INFOPLIST_FILE = "BuildNumberTest/BuildNumberTest-Info.plist";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ VERSIONING_SYSTEM = "apple-generic";
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ DEEFA60C13D6A17400B2E579 /* Build configuration list for PBXProject "BuildNumberTest" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ DEEFA62E13D6A17400B2E579 /* Debug */,
+ DEEFA62F13D6A17400B2E579 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ DEEFA63013D6A17400B2E579 /* Build configuration list for PBXNativeTarget "BuildNumberTest" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ DEEFA63113D6A17400B2E579 /* Debug */,
+ DEEFA63213D6A17400B2E579 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = DEEFA60913D6A17400B2E579 /* Project object */;
+}
32 BuildNumberTest/BuildNumberTest-Info.plist
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>en</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIconFile</key>
+ <string></string>
+ <key>CFBundleIdentifier</key>
+ <string>scottdensmore.me.${PRODUCT_NAME:rfc1034identifier}</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>__VERSION__</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1</string>
+ <key>LSMinimumSystemVersion</key>
+ <string>${MACOSX_DEPLOYMENT_TARGET}</string>
+ <key>NSMainNibFile</key>
+ <string>MainMenu</string>
+ <key>NSPrincipalClass</key>
+ <string>NSApplication</string>
+</dict>
+</plist>
7 BuildNumberTest/BuildNumberTest-Prefix.pch
@@ -0,0 +1,7 @@
+//
+// Prefix header for all source files of the 'BuildNumberTest' target in the 'BuildNumberTest' project
+//
+
+#ifdef __OBJC__
+ #import <Cocoa/Cocoa.h>
+#endif
18 BuildNumberTest/BuildNumberTestAppDelegate.h
@@ -0,0 +1,18 @@
+//
+// BuildNumberTestAppDelegate.h
+// BuildNumberTest
+//
+// Created by Scott Densmore on 7/19/11.
+// Copyright 2011 Scott Densmore. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+@interface BuildNumberTestAppDelegate : NSObject <NSApplicationDelegate> {
+@private
+ NSWindow *window;
+}
+
+@property (assign) IBOutlet NSWindow *window;
+
+@end
20 BuildNumberTest/BuildNumberTestAppDelegate.m
@@ -0,0 +1,20 @@
+//
+// BuildNumberTestAppDelegate.m
+// BuildNumberTest
+//
+// Created by Scott Densmore on 7/19/11.
+// Copyright 2011 Scott Densmore. All rights reserved.
+//
+
+#import "BuildNumberTestAppDelegate.h"
+
+@implementation BuildNumberTestAppDelegate
+
+@synthesize window;
+
+- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
+{
+ // Insert code here to initialize your application
+}
+
+@end
29 BuildNumberTest/en.lproj/Credits.rtf
@@ -0,0 +1,29 @@
+{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
+{\colortbl;\red255\green255\blue255;}
+\paperw9840\paperh8400
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
+
+\f0\b\fs24 \cf0 Engineering:
+\b0 \
+ Some people\
+\
+
+\b Human Interface Design:
+\b0 \
+ Some other people\
+\
+
+\b Testing:
+\b0 \
+ Hopefully not nobody\
+\
+
+\b Documentation:
+\b0 \
+ Whoever\
+\
+
+\b With special thanks to:
+\b0 \
+ Mom\
+}
2  BuildNumberTest/en.lproj/InfoPlist.strings
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
4,119 BuildNumberTest/en.lproj/MainMenu.xib
4,119 additions, 0 deletions not shown
14 BuildNumberTest/main.m
@@ -0,0 +1,14 @@
+//
+// main.m
+// BuildNumberTest
+//
+// Created by Scott Densmore on 7/19/11.
+// Copyright 2011 Scott Densmore. All rights reserved.
+//
+
+#import <Cocoa/Cocoa.h>
+
+int main(int argc, char *argv[])
+{
+ return NSApplicationMain(argc, (const char **)argv);
+}
119 build.sh
@@ -0,0 +1,119 @@
+#!/bin/bash
+
+upload=0
+tweet=""
+
+while getopts ":t:up:w:" Option
+do
+ case $Option in
+ w ) tweet=$OPTARG;;
+ u ) upload=1;;
+ p ) project=$OPTARG;;
+ t ) tag=$OPTARG;;
+ esac
+done
+shift $(($OPTIND - 1))
+
+if [ "$project" == "" ]; then
+ echo "No project specified"
+ exit
+fi
+
+if [ "$tag" == "" ]; then
+ echo "No tag specified"
+ exit
+fi
+
+# Configuration
+#devired_data_path="$HOME/Library/Developer/Xcode/DerivedData"
+final_builds=~/Dev/release_builds
+code_folder=~/Dev/$project
+build_folder=$code_folder/build
+keys_folder=~/Development/keys
+upload_destination=user@yourcompany.com:/usr/local/apache2/htdocs/downloads/
+release_notes_webfolder=http://yourcompany.com/releasenotes
+downloads_webfolder=http://yourcompany.com/downloads
+twitter_uname=someone@somewhere.com
+twitter_pword=password
+
+if [ ! -d $final_builds ]; then
+ mkdir $final_builds
+fi
+
+# clean up
+if [ -d $build_folder ]; then
+ rm -rf $build_folder
+fi
+
+cd $code_folder
+
+git pull origin master
+git pull --tags
+git checkout $tag
+
+sed -i "" 's/__VERSION__/'$tag'/g' Info.plist
+
+echo building project
+xcodebuild -target $project -configuration Release OBJROOT=$build_folder SYMROOT=$build_folder OTHER_CFLAGS=""
+
+if [ $? != 0 ]; then
+ echo "Bad build for $project"
+ say "bad build!"
+else
+
+ #ok, let's index the documentation if we've got it.
+ #/Developer/Applications/Utilities/Help\ Indexer.app/Contents/MacOS/Help\ Indexer "/tmp/buildapp/build/Release/BuildApp.app/Contents/Resources/English.lproj/BuildAppHelp"
+
+ mv $build_folder/Release/$project.app $final_builds
+
+ # make the zip file
+ cd $final_builds
+ zip -r $project-$tag.zip $project.app
+
+ rm -rf $project.app
+
+ if [ $upload == 1 ]; then
+
+ echo uploading to server...
+ # upload
+ scp $project-$tag.zip $upload_destination
+
+ # get values for appcast
+ dsasignature=`$keys_folder/sign_update.rb $final_builds/$project-$tag.zip $keys_folder/$project\_dsa_priv.pem`
+ filesize=`stat -f %z $final_builds/$project-$tag.zip`
+ pubdate=`date "+%a, %d %h %Y %T %z"`
+
+ cd $code_folder
+
+ cfbundleversion=`agvtool what-version -terse`
+
+ #output appcast item
+ echo
+ echo Put the following text in your appcast
+ echo "<item>"
+ echo "<title>Version $tag</title>"
+ echo "<sparkle:releaseNotesLink>"
+ echo "$release_notes_webfolder/$project.html"
+ echo "</sparkle:releaseNotesLink>"
+ echo "<pubDate>$pubdate</pubDate>"
+ echo "<enclosure url=\"$downloads_webfolder/$project-$tag.zip\""
+ echo "sparkle:version=\"$cfbundleversion\""
+ echo "sparkle:shortVersionString=\"$tag\""
+ echo "sparkle:dsaSignature=\"$dsasignature\""
+ echo "length=\"$filesize\""
+ echo "type=\"application/octet-stream\" />"
+ echo "</item>"
+ if [ "$tweet" != "" ]; then
+ echo "Calling twitter: $tweet"
+ curl -u $twitter_uname:$twitter_pword -d status="$project $tag is up. $tweet" http://twitter.com/statuses/update.xml
+ fi
+ fi
+
+ open $final_builds
+ say "done building"
+
+fi
+
+cd $code_folder
+git checkout Info.plist
+rm -rf $build_folder
11 tag.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+tag=$1
+if [ "$tag" == "" ]; then
+ echo "No tag specified"
+ exit
+fi
+agvtool next-version -all
+git commit -a -m "Increment CFBundleVersion for $tag"
+git tag -m "Tag for $tag" -a $tag
+git push origin master
+git push --tags
Please sign in to comment.
Something went wrong with that request. Please try again.