Skip to content
This repository was archived by the owner on Jan 18, 2021. It is now read-only.
This repository was archived by the owner on Jan 18, 2021. It is now read-only.

Simplify configuration - get rid of "releasing.build.branch" #101

@mockitoguy

Description

@mockitoguy

Problem

We should be able to to simplify release configuration and get rid of "releasing.build.branch" completely:

releasing {
  //we should be able to get rid of the below and configure automatically:
  build.branch = System.getenv("TRAVIS_BRANCH")
}

It is super annoying that I have to configure TRAVIS_BRANCH env variable even for local testing or releasing from local (I'm not Travis!). Fixing it will make the tools easier to use today, and easier to integrate with other tools in the future.

Workflow

  1. travisReleasePrepare task ensures that TRAVIS_BRANCH is checked out.
  2. in other workflows (non-travis), for example local testing, deployment from local, we don’t read nor require the TRAVIS_BRANCH property at all.

Suggested implementation

See the suggested starting point design at: #102

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