Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@getluko/mobile-release-process

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@getluko/mobile-release-process

Scripts to automate git flow used by mobile team to release

  • 0.0.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

@getluko/mobile-release-process

Scripts to automate git flow used by our mobile team when releasing. usefull for release and patch.

The mobile-release-process release command will:

  • Ask you several questions to be sure that you can start the release
  • Check the next app version number
  • Prepare the branch to release a alpha or a patch
  • Trigger build on Bitrise
  • Prepare the next release
  • Clean up all temporary branch

Configuration

  1. Install the package:
yarn add @getluko/mobile-release-process --dev
  1. create a configuration file at root .mobile-release-process.config.json
{
  "infoPlist": "./ios/<project_name>/Info.plist", // mandatory, path to the Info.plist file
  "buildGradle": "./android/app/build.gradle", // mandatory, path to the build.gradle file
  "git": {
    "alphaBranch": "alpha", // optional (default: alpha)
    "devBranch": "dev", // optional (default: dev)
    "masterBranch": "master", // optional (default: master)
    "releaseBranch": "release", // optional (default: release)
    "stagingBranch": "staging" // optional (default: staging)
  },
  // Use during the script execution to output shortcut link in the terminal
  "releaseCILink": "https://app.bitrise.io/app/xxxxxxxxxx", // optional (default: undefined)
  "releaseTrackingLink": "https://www.notion.so/xxxx/xxxxx", // optional (default: undefined)
  "playConsole": "https://play.google.com/console/xxxxx", // optional (default: undefined)
  "testflight": "https://appstoreconnect.apple.com/xxxxx" // optional (default: undefined)
}
  1. Command

Release a new version of the app (new alpha), will bump by 10 the version number and buildNumber

npx mobile-release-process release

Release a patch for the current app in alpha, will bump by 1 the version number and buildNumber

npx mobile-release-process alpha-patch

Prepare the next alpha branch, we use this script with bitrise to build the next release in alpha

npx mobile-release-process create-alpha-branch

bump the version number by 1 or 10

npx mobile-release-process build-version-script

bump the build number by 1 or 10

npx mobile-release-process build-version-script

FAQs

Package last updated on 10 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc