Injects into a descriptor the version detected from the current Git branch.
steps:
- uses: giancosta86/aurora-github/actions/inject-branch-version@v6
-
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.
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.