codacy / git-version

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

[CY-6261] Version is not getting update #59

Closed faiqsayed closed 1 year ago

faiqsayed commented 2 years ago

Hi, I am trying to use this tool but I am unable to configure it. I have tried recommended code in my workflow but it is not updating anything. I am not sure why the documentation is not reflecting the simple and basic setting to use this tool. Please have a look at my code and let me know the solution.

Thanks in advance.

- name: Git Version
        id: get-version
        uses: codacy/git-version@2.2.0
        with:
          prefix: v
          release-branch: main
          dev-branch: feature/**

      - name: New Version
        run: echo ${{ steps.get-version.outputs.version }}
github-actions[bot] commented 2 years ago

Internal ticket created : CY-6261

DMarinhoCodacy commented 1 year ago

Hello,

I've made some tests and it's returning the version properly.

I kindly ask you to check and test again, please.

Kind regards, David Marinho