I have noticed that the outputs.version on the release-branch can be invalid.
Observed scenario:
- The project has a single existing tag
0.0.1 and a release-branch named main
- The
codacy/git-version@2.7.1 output on main:
- received:
Previous Version: 0.0.0
New Version: 0.0.1
- expected:
Previous Version: 0.0.1
New Version: 0.0.2
After adding another tag 0.0.2 I got the output:
- as expected
Previous Version: 0.0.2
New Version: 0.0.3
This cause me to assure, that at least two tags exists before being able to use the codacy/git-version@2.7.1
I have noticed that the
outputs.versionon the release-branch can be invalid.Observed scenario:
0.0.1and a release-branch namedmaincodacy/git-version@2.7.1output onmain:Previous Version: 0.0.0New Version: 0.0.1Previous Version: 0.0.1New Version: 0.0.2After adding another tag
0.0.2I got the output:Previous Version: 0.0.2New Version: 0.0.3This cause me to assure, that at least two tags exists before being able to use the
codacy/git-version@2.7.1