Coder Social home page Coder Social logo

fastlane-plugin-release's Introduction

release fastlane plugin

License Gem fastlane Plugin Badge

Getting Started

This project is a fastlane plugin. To get started with fastlane-plugin-release, add it to your project by running:

fastlane add_plugin release

About release

Extends fastlane release actions. Automates the steps to create a new release for a framework. At a high level, it goes through these steps:

  • Increments podspec version
  • Increments xcodeproj version
  • Increments xcodeproj build (opt-in)
  • Commits version bumps
  • Tags release
  • Pushes to remote
  • Pushes podspec

The order of these operations depends on the configuration. See below for customization options...

Actions

make_release

parameter optional default description
podspec false The path of the podspec
xcodeproj true The path of the xcode project. Required for incrementing version and build number in xcodeproj
allow_warnings true true Allow warnings during pod push
bump_build true false Increments the build number; optional
ensure_git_branch true "master" The branch that should be checked for
ensure_git_status_clean true true Raises an exception if there are uncommitted git changes
podspec_repo true "Trunk" The podspec repo
post_bump true false Bump version number after tag and podspec push
pre_bump true false Bump version number before tag and podspec push
sources true ["https://github.com/CocoaPods/Specs"] The sources of repos you want the pod spec to lint with
tag_prefix true "" A prefix to be added to the version tag (e.g. "v/")
version true nil Change to a specific version. Cannot be used in conjuction with version_bump_type
version_bump_type true "patch" The type of this version bump. Available: patch, minor, major

A typical use case could look something like this:

make_release(
    xcodeproj: "Nitrous.xcodeproj",
    podspec: "Nitrous.podspec",
    podspec_repo: "coledunsby",
    tag_prefix: "v/",
    post_bump: true
)

This will:

  1. Tag the release (e.g. "v/2.0.0")
  2. Push the tag to remote
  3. Push the podspec
  4. Increment the podspec version
  5. Increment the xcodeproj version
  6. Commit the version bumps
  7. Push the commit to remote

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting guide.

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.

About fastlane

fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.

fastlane-plugin-release's People

Contributors

coledunsby avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.