Skip to content

CI: Provide GITHASH and GITBRANCH to Makefile externally #10525

@Tema

Description

@Tema

Enhancement Task

Add option to provide PDGitHash and PDGitBranch from CI.

Not all CI systems have access to full git metadata. In these scenarios PDGitHash and PDGitBranch need to be provided by caller during build time.

RELEASE_VERSION has been extracted similarly in the past https://github.com/tikv/pd/blame/master/Makefile#L65

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributionThis PR is from a community contributor.type/enhancementThe issue or PR belongs to an enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions