Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 1.43 KB

File metadata and controls

35 lines (21 loc) · 1.43 KB

inject-branch-version

Injects into a descriptor the version detected from the current Git branch.

Example

steps:
  - uses: giancosta86/aurora-github/actions/inject-branch-version@v6

Requirements

  • The artifact file should contain at least one occurrence of 0.0.0: they will all be replaced by the version detected from the current Git branch; however, the action won't fail if there are no occurrences.

  • The ones described for detect-branch-version.

  • If artifact-descriptor is missing, the requirements for detect-project-tech apply.

Inputs 📥

Name Type Description Default value
artifact-descriptor string Relative path to the artifact descriptor (depends on project tech)
project-directory string The project directory .

For details about the default value assigned to the artifact-descriptor input, please refer to the related output of detect-project-tech.

Further references