Skip to content
This repository was archived by the owner on Jan 15, 2021. It is now read-only.
This repository was archived by the owner on Jan 15, 2021. It is now read-only.

yotta version - error if a tag already exists, but creates the version commit #722

Open
@0xc0170

Description

@0xc0170

I am running older yotta (0.12.2):

..\mbed-drivers (master)
λ yt version patch
info: @0.12.2
error: command failed: fatal: tag 'v0.12.2' already exists

C:\Code\git_repo\github\yotta_thing\mbed-drivers (master)
λ git logg -4
* f0ff915 - (HEAD, master) version v0.12.2 (68 seconds ago) <Martin Kojtal>

git reflog shows f0ff915 HEAD@{0}: commit: version v0.12.2, which should not happen. As 0.12.2 was already as a tag, I just realized the commit was missing there.. This should not happen (a person pushed a tag v0.12.2 but not the version commit) but we can see it does :-)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions