{"id":15566824,"url":"https://github.com/indexzero/git-semver2-tag","last_synced_at":"2025-04-23T23:47:27.101Z","repository":{"id":66035816,"uuid":"42806514","full_name":"indexzero/git-semver2-tag","owner":"indexzero","description":"Upgrades any semver 1.0 tags to semver 2.0. e.g. \"v1.0.0\" becomes \"1.0.0\"","archived":false,"fork":false,"pushed_at":"2017-08-29T05:37:46.000Z","size":8,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T16:07:00.273Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/indexzero.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-09-20T08:47:47.000Z","updated_at":"2024-07-03T09:11:28.000Z","dependencies_parsed_at":"2023-02-26T23:15:23.868Z","dependency_job_id":null,"html_url":"https://github.com/indexzero/git-semver2-tag","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fgit-semver2-tag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fgit-semver2-tag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fgit-semver2-tag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Fgit-semver2-tag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indexzero","download_url":"https://codeload.github.com/indexzero/git-semver2-tag/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250535084,"owners_count":21446505,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T17:07:11.825Z","updated_at":"2025-04-23T23:47:27.090Z","avatar_url":"https://github.com/indexzero.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-semver2-tag\n\nUpgrades any semver 1.0 tags to semver 2.0. e.g. \"v1.0.0\" becomes \"1.0.0\".\n\n## Installation\n\n```\nnpm install -g git-semver2-tag\n```\n\n## Usage\n\nBy setting the `DRY` flag this CLI tool will not perform any operations against `git`. This way you can see what `git` commands it will run.\n\nIf you are satisfied with the `git` commands it is going to run then simply run it without the DRY flag.\n\n### `git-semver2-tag`\n\n```\nDRY=yes git-semver2-tag\n## Renaming local tags\ngit tag 0.1.0 v0.1.0\ngit tag 0.1.1 v0.1.1\n\n## Removing old tags\ngit tag -d v0.1.0\ngit tag -d v0.1.1\n\n## Removing remote tags\ngit push origin :refs/tags/v0.1.0\ngit push origin :refs/tags/v0.1.1\n\n## Adding new remote tags\nExecuting git push --tags\n\nDRY run completed. No git commands run.\n```\n\n### `git-create-semver2-tags`\n\n```\n$ git-create-semver2-tags\n## Reading package.json git history\nSkipping existing version: 4.1.1\nSkipping existing version: 4.1.0\nSkipping existing version: 4.0.1\nSkipping existing version: 4.0.0\nSkipping existing version: 2.0.2\nSkipping existing version: 2.0.1\nSkipping existing version: 2.0.0\nSkipping existing version: 1.0.4\nSkipping existing version: 1.0.3\nSkipping existing version: 1.0.2\nSkipping existing version: 1.0.1\nSkipping existing version: 1.0.0\n\n## Found missing git tags \n\n[\n  3.1.3,\n  3.1.2,\n  3.1.1,\n  3.1.0,\n  3.0.1,\n  3.0.0,\n  2.0.5\n]\n\n## Creating git tags\ngit tag -a '3.1.3' -m 'Version 3.1.3' 0378b130c9e2302dbdc1281a03a1c074\ngit tag -a '3.1.2' -m 'Version 3.1.2' a121befa10141045db7fc48fff99afc1\ngit tag -a '3.1.1' -m 'Version 3.1.1' b384df81d6351ea010f4335667ce7757\ngit tag -a '3.1.0' -m 'Version 3.1.0' d950526c994785645eb64cce8ab5f741\ngit tag -a '3.0.1' -m 'Version 3.0.1' 6de8ccb4c4524a934f64f662dfeee9c1\ngit tag -a '3.0.0' -m 'Version 3.0.0' 035cadf1487114a132c3ef7650044cd1\ngit tag -a '2.0.5' -m 'Version 2.0.5' 3cd7a0db76ff9dca48979e24c39b408c\n\n## Adding new remote tags\nExecuting git push --tags\n\nDRY run completed. No git commands run.\n```\n\n#### LICENSE: MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findexzero%2Fgit-semver2-tag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findexzero%2Fgit-semver2-tag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findexzero%2Fgit-semver2-tag/lists"}