Skip to content

Hotfix for repositories without tags

Compare
Choose a tag to compare
@webbertakken webbertakken released this 01 May 19:11

Fixes:

#85 Fix case where no tags does not trigger false

Known issues:

When no tag has ever been made the amount of commits will be used (as expected), however the amount of commits may be 1 higher than expected in pipelines that are triggered by PRs, because the ref to the pr commit is different than that of the branch (as far as i understand).

This means that when building from a PR, the version may be 1 higher than expected.