Skip to content

[Bug] Failed to parse 0.1 into a Semantic Version (v 6.0.0-alpha.1) #3341

Closed

Description

@mtufe-delhaize

Describe the bug
next-version is failed to parse 0.1 into a Semantic Version

Actual Behavior

Failed to parse 0.1 into a Semantic Version

Steps to Reproduce

Agent : ubuntu-latest or windows-latest
Azure Devops Pipeline GitVersion.Tools Preview
GitVersion.Tools v6.0.0-alpha.1

Context

GitVersion.yml

next-version: 0.1
assembly-versioning-scheme: MajorMinorPatch
assembly-file-versioning-scheme: MajorMinorPatchTag
assembly-informational-format: '{InformationalVersion}'
mode: ContinuousDelivery
continuous-delivery-fallback-label : ci
increment: Inherit
label-prefix: '[vV]'
major-version-bump-message: '\+semver:\s?(breaking|major)'
minor-version-bump-message: '\+semver:\s?(feature|minor)'
patch-version-bump-message: '\+semver:\s?(fix|patch)'
no-bump-message: '\+semver:\s?(none|skip)'
commit-message-incrementing: Enabled
commit-date-format: 'yyyy-MM-dd'
ignore:
  sha: []
merge-message-formats: {}
branches:
  master:
    regex: ^master$|^main$
    mode: ContinuousDelivery
    label: ''
    increment: Patch
    prevent-increment-of-merged-branch-version: true
    track-merge-target: false
    tracks-release-branches: false
    is-release-branch: false

Your Environment

Azure Devops Pipeline

  • Version Used: 6.0.0-alpha.1
  • Build Agent ubuntu-latest or windows-latest

Activity

  1. HHobeck commented on Jan 17, 2023

    @HHobeck
    Contributor

    I think it's broken because of a merge failure. We need to change this lines of code:

    image

  2. HHobeck commented on Jan 17, 2023

    @HHobeck
    Contributor

    In advance you need to adapt the GitVersion.yml file and specify the label-prefix as optional: label-prefix: '[vV]?'

  3. added this to the 6.x milestone on Feb 9, 2023
  4. added a commit that references this issue on Feb 17, 2023
  5. arturcic commented on Feb 17, 2023

    @arturcic
    Member

    I think it's broken because of a merge failure. We need to change this lines of code:

    image

    @HHobeck I think beside this @mtufe-delhaize will need to add the
    "semver-format": "Loose"

  6. added 8 commits that reference this issue on Feb 17, 2023
  7. added a commit that references this issue on Feb 18, 2023
  8. modified the milestones: 6.x, 6.0.0-beta.1 on Mar 2, 2023
  9. arturcic commented on Mar 2, 2023

    @arturcic
    Member

    🎉 This issue has been resolved in version 6.0.0-beta.1 🎉
    The release is available on:

    Your GitReleaseManager bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions