Skip to content

Add branch info into release builds #4141

@avently

Description

@avently

Describe the feature you want

I want to see support of custom branches (i.e. branches for PR makers) inside release part of build.gradle file. For now there is only such support for debug build type but not for release.

Is your feature request related to a problem? Please describe it

Right now when I make some code changes for PR I have to specify

resValue "string", "app_name", "NewPipe Feature name"
applicationIdSuffix ".mysuffix"

here: https://github.com/TeamNewPipe/NewPipe/blob/dev/app/build.gradle#L55

Because users asks me about release build instead of debug build. Debug build is terribly slow because of enabled debugging (this is expected behaviour for all apps).

Additional context

Just make the same thing from debug build with release build (set resValue and applicationIdSuffix if workingBranch != "master" && workingBranch != "dev")

How will you/everyone benefit from this feature?

Developers will not need to write this info for every PR they do after you make proposed change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssue is related to a feature in the appmetaRelated to the project but not strictly to code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions