Skip to content

Support for tags #148

@pomek

Description

@pomek

🎯 Goals

  • The goal is to allow checking out a repository to a tag (version) instead of a branch.
  • The tag can be unknown, so we want to check out the latest created.

📗 Story

  • Given: I am a developer who uses the https://github.com/ckeditor/ckeditor5-dev repository in a project.
     {
       "packages": "external/",
       "dependencies": {
         "ckeditor5-dev": "ckeditor/ckeditor5-dev@latest"
       }
     }
  • When: I execute mrgit sync.
  • Then: The tool checks out the ckeditor5-dev repository on the v31.1.11 tag.

💡 Hints

  • When creating the issue, the latest version in ckeditor5-dev is v31.1.11
    image
  • We should also support defining a particular tag: "ckeditor5-dev": "ckeditor/ckeditor5-dev@v31.0.0".
  • The @latest has a specific meaning - find the latest tag name and use it.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions