{"id":16625488,"url":"https://github.com/aleclarson/release","last_synced_at":"2025-08-08T21:13:27.481Z","repository":{"id":56620562,"uuid":"126514547","full_name":"aleclarson/release","owner":"aleclarson","description":"Semver releases for git","archived":false,"fork":false,"pushed_at":"2023-06-21T15:52:54.000Z","size":47,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-18T14:06:48.107Z","etag":null,"topics":["nodejs","release","semver"],"latest_commit_sha":null,"homepage":"","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/aleclarson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-23T16:56:49.000Z","updated_at":"2020-07-30T12:50:55.000Z","dependencies_parsed_at":"2022-08-15T22:01:14.324Z","dependency_job_id":null,"html_url":"https://github.com/aleclarson/release","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2Frelease","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2Frelease/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2Frelease/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2Frelease/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aleclarson","download_url":"https://codeload.github.com/aleclarson/release/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243030819,"owners_count":20224667,"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":["nodejs","release","semver"],"created_at":"2024-10-12T04:05:53.873Z","updated_at":"2025-03-11T12:17:41.625Z","avatar_url":"https://github.com/aleclarson.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# release v0.6.2\n\nEasy semver releases.\n\n### How it works\n\nHere is everything `release` does (in order):\n\n- stash changes and untracked files (you must use the `-s` flag)\n- if the `files` array exists in `package.json`:\n  - delete any paths *not* in that array\n- delete any paths matching the `-x` globs\n- update the package version\n- ensure the `latest` branch exists\n- reset the `latest` branch to `master`\n- run these scripts in order:\n  - `build`, `prepublish`, `prepare`, `prepublishOnly`\n- commit changes with a message like `1.0.0`\n- create a semver tag like `1.0.0`\n- force push to `origin/latest`\n- end on `master` branch\n\nExperiment with the `--dry` flag (so no changes are made).\n\n## CLI\n\n```sh\nrelease 0.0.1   # specify exact version\nrelease -p      # bump the patch version\nrelease -m      # bump the minor version, set patch to 0\nrelease -M      # bump the major version, set patch/minor to 0\nrelease -R      # rebase the current version\n```\n\n#### Flags\n- `-p --patch` set release type to \"patch\"\n- `-m --minor` set release type to \"minor\"\n- `-M --major` set release type to \"major\"\n- `-P --pre` prepend \"pre\" when used with `-p`, `-m`, or `-M`; otherwise, set release type to \"prerelease\"\n- `-R --rebase` update the current version (useful after a rebase)\n- `-s --stash` stash changes and untracked files\n- `-x --exclude` globs excluded from the `latest` branch\n- `--dry` see what happens without doing it\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleclarson%2Frelease","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faleclarson%2Frelease","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleclarson%2Frelease/lists"}