Skip to content

[TS-607] Improvement - Check for identifiers since last tag #90

@zyexal

Description

@zyexal

Currently the minor-identifier or major-identifier is needed on the latest commit message to have any effect.

Scenario - Project with version 1.0.2:

  • User is creating many commits on a branch
    • minor changes, improvements etc. with simple commit messages and
    • a new feature with commit message containing minor-identifier (used as minor version increase identifier)
    • also publishes/deploys snapshots to repo
  • User creates a PR, but misses to add minor-identifier to the PR title

Outcome:

  • Snapshot with version 1.1.0 as we had a commit message with minor-identifier
  • Published 1.0.3 as minor-identifier was missing in the PR title

Improvement possible:

  • Let user decide if a missing identifier shall
    • break the workflow exceptionally,
    • increase versions based on commit and PR title (latest commit) or
    • ignore older commit messages (current behaviour)
  • Needs possibility to check all commits since the last tagged for minor-identifier or major-identifier

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