codacy / git-version

Git versioning used in Codacy
Apache License 2.0
134 stars 44 forks source link

[CY-6703] Expose non-prefixed version number in the output #78

Open tanordheim opened 1 year ago

tanordheim commented 1 year ago

If using a configuration like this:

      - name: Get build version
        uses: codacy/git-version@2.7.1
        id: version
        with:
          log-paths: 'module1'
          prefix: module1-

Then steps.version.outputs.version outputs something like module1-0.0.1-.... It would be super great to be able to access the non-prefixed version number here as well, usecase is building NuGet packages where we need the actual version number without prefix as a prefixed version number like this is not accepted.

github-actions[bot] commented 1 year ago

Internal ticket created : CY-6703