Skip to content
My personal deployment automation script
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.

Cobelli Deploy

My personal deployment automation script for iOS, Android, & Web projects

I have a number of projects and each project has a number of applications (ex: Client 1 has an iOS and an Android app, Client 2 has an iOS and a web app, etc). This is a simple and easy way to manage deploying updates for all of these different applications.

This will not take the place of a standard CI/CD pipeline but is rather a wrapper around all the things you have to do to get your code into the pipeline.


  • Place this script in you main development folder
    • Each project you work on is located in a sub-directory
    • Each of these sub-directories is a 3-character project code (must be DNS safe)
    • Each project directory has a sub-directory for each application (iOS, Android, etc)
      • These sub-directories must be titled with the "parent directory name"_"application name"
        • Examples
        • abc:
          • config.ini
          • abc-ios
          • abc-android
          • abc-backend
      • There must also be a config.ini located in each directory
        • The config.ini must have the following attributes
title="Alpha Bravo Charlie"


Buffer is a great tool for managing social media. A great way of posting to social media is to let people know that new versions of the app are available for download. To use this functionality, you'll have to create your own Buffer application and enter the config values at the top of the script.


The script will do the following:

  1. (If it's a PHP project) Run a PHP linter
  2. Ask if you'd like to tag this deployment
    • If you do, it will schedule postings with Buffer
  3. Create a commit
  4. Push to remote
    • Once it has been pushed to the remote, your standard CI/CD pipeline will take over


The script will do the following:

  1. Analyze the already created release APK
  2. Create a git commit using the version number (ex: 5)
  3. Create a tag with the version name (ex: 1.2.3)
  4. Push to remote
  5. Schedule postings with Buffer


  1. Update Fastlane
  2. (Optionally) Run ImageOptim
  3. (Optionally) Generate screenshots (using Fastlane)
  4. Download existing meta data from the App Store (using Fastlane)
  5. Ask for your change log (will be displayed on the App Store)
  6. Run your Fastlane lanes (either beta or release builds)
  7. Create a git commit using the version number (ex: 5)
  8. Create a tag with the version name (ex: 1.2.3)
  9. Push to remote
  10. Schedule postings with Buffer


  • Add more documentation on Buffer
  • Add support for Mac applications
  • Build the signed APK for android directly from the CLI (maybe using fastlane)
You can’t perform that action at this time.