Skip to content

Cannot use branch other than main #393

@raydenvoldeskine

Description

@raydenvoldeskine

I get failure each time I run the plugin (Android, command line), despite setting git {
requireBranch.set('develop')
}

1: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':app-release:app:initScmAdapter'.

Current Git branch is "develop" and not "main".

The requireBranch setting is in top level (project) build.gradle file.

Any ideas why this happen or what else I can check?
Plugin version 3.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions