Skip to content

[TS-606] Invalid version release-branch #89

@zyexal

Description

@zyexal

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/[email protected] 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/[email protected]

Metadata

Metadata

Assignees

No one assigned

    Labels

    jira-issueIssue tracked on JIRA

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions