Skip to content

Instantly share code, notes, and snippets.

@SuperYeti
Created May 9, 2011 20:41
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SuperYeti/963351 to your computer and use it in GitHub Desktop.
Save SuperYeti/963351 to your computer and use it in GitHub Desktop.
<CustomCommands>
<CustomCommands>
<Command type="BeforeBuild" command="rm -rf ${SolutionDir}/Output/Payload/${ProjectName}.app/" />
<Command type="BeforeBuild" command="rm -rf ${SolutionDir}/${ProjectName}.ipa" />
<Command type="AfterBuild" command="cp -r ${ProjectDir}/bin/${ProjectConfigPlat}/${ProjectConfigName}/${ProjectName}.app ${SolutionDir}/Output/Payload/${ProjectName}.app" workingdir="" />
<Command type="AfterBuild" command="zip -r ../${ProjectName}.ipa ." workingdir="${SolutionDir}/Output/" />
<Command type="AfterBuild" command="curl http://testflightapp.com/api/builds.json -F file=@../${ProjectName}.ipa -F api_token='<your_api_token>' -F team_token='<your_team_token>'' -F notes='Uploaded Automatically From MonoDevelop' -F notify=false -F distribution_lists='<any dist lists you want to include>'" />
</CustomCommands>
</CustomCommands>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment