{"id":18645467,"url":"https://github.com/cscott/update-history","last_synced_at":"2025-11-05T03:30:31.886Z","repository":{"id":57080728,"uuid":"393237544","full_name":"cscott/update-history","owner":"cscott","description":"A simple tool to update HISTORY.md files","archived":false,"fork":false,"pushed_at":"2021-08-06T03:55:43.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-02T00:05:47.468Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/cscott.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-06T03:33:35.000Z","updated_at":"2021-08-06T03:55:39.000Z","dependencies_parsed_at":"2022-08-24T14:57:50.281Z","dependency_job_id":null,"html_url":"https://github.com/cscott/update-history","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/cscott%2Fupdate-history","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cscott%2Fupdate-history/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cscott%2Fupdate-history/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cscott%2Fupdate-history/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cscott","download_url":"https://codeload.github.com/cscott/update-history/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239449567,"owners_count":19640533,"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-11-07T06:16:03.270Z","updated_at":"2025-02-18T09:46:29.300Z","avatar_url":"https://github.com/cscott.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Latest Stable Version]](https://packagist.org/packages/wikimedia/update-history) [![License]](https://packagist.org/packages/wikimedia/update-history)\n\nwikimedia/update-history\n=====================\n\nA simple tool to update HISTORY.md files when making a library release.\n\nAdditional documentation about this library can be found on\n[mediawiki.org](https://www.mediawiki.org/wiki/UpdateHistory).\n\nUsage\n-----\n\nTo make a release:\n\n## Step 1\n```bash\nbin/update-history [patch|minor|major]\n```\n\nThis increments the version number for a patch release (or, if you\nspecify, for a minor or major release instead) and updates the\nHISTORY.md with the new version number and the current date.\n\n## Step 2\n```bash\ngit add HISTORY.md\ngit commit -m \"Release \u003cMy Package\u003e \u003cVERSION\u003e\"\ngit tag \u003cVERSION\u003e\n```\nThis step will be automated in the future.\n\n## Step 3\n```bash\nbin/update-history\n```\nThis adds a new placeholder \"x.x.x (not yet released)\" section to\nthe HISTORY.md.\n\n## Step 4\n```bash\ngit add HISTORY.md\ngit commit -m \"Bump HISTORY.md after release\"\n```\nThis step will be automated in the future.\n\n## Step 5 (optional)\nPush these commits to your code review system.\n```bash\ngit review\n```\nWhen they are merged you may have to verify that the tag created above\nstill corresponds to the final merged commit, and if not:\n```bash\ngit tag -f \u003cnew git hash\u003e \u003cVERSION\u003e\n```\nAnd finally, push the new tag:\n```bash\ngit push origin \u003cVERSION\u003e\n```\n\n---\n[Latest Stable Version]: https://poser.pugx.org/wikimedia/update-history/v/stable.svg\n[License]: https://poser.pugx.org/wikimedia/update-history/license.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcscott%2Fupdate-history","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcscott%2Fupdate-history","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcscott%2Fupdate-history/lists"}