{"id":22120971,"url":"https://github.com/actions-ecosystem/action-bump-semver","last_synced_at":"2025-07-25T13:31:42.828Z","repository":{"id":37214246,"uuid":"261320400","full_name":"actions-ecosystem/action-bump-semver","owner":"actions-ecosystem","description":"⏫ GitHub Action to bump the semver version up","archived":false,"fork":false,"pushed_at":"2024-01-27T01:26:03.000Z","size":344,"stargazers_count":52,"open_issues_count":30,"forks_count":22,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-25T15:59:36.262Z","etag":null,"topics":["actions","github","semver"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/actions-ecosystem-bump-semver","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/actions-ecosystem.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-04T23:46:03.000Z","updated_at":"2024-10-20T06:13:00.000Z","dependencies_parsed_at":"2024-06-18T14:40:55.849Z","dependency_job_id":"47adf76e-3790-410a-902f-1a0b6a0108ad","html_url":"https://github.com/actions-ecosystem/action-bump-semver","commit_stats":{"total_commits":21,"total_committers":3,"mean_commits":7.0,"dds":"0.38095238095238093","last_synced_commit":"e913871070421d7c1877d812c9f89107d05f9f80"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions-ecosystem%2Faction-bump-semver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions-ecosystem%2Faction-bump-semver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions-ecosystem%2Faction-bump-semver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions-ecosystem%2Faction-bump-semver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/actions-ecosystem","download_url":"https://codeload.github.com/actions-ecosystem/action-bump-semver/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227578581,"owners_count":17788901,"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":["actions","github","semver"],"created_at":"2024-12-01T14:31:52.870Z","updated_at":"2024-12-01T14:32:02.055Z","avatar_url":"https://github.com/actions-ecosystem.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Action Bump Semver\n\n[![actions-workflow-test][actions-workflow-test-badge]][actions-workflow-test]\n[![release][release-badge]][release]\n[![license][license-badge]][license]\n\nThis is a GitHub Action to bump the given semver version up.\n\nFor example:\n\n- `current_version=v1.2.3`, `level=major` -\u003e `new_version=v2.0.0`\n- `current_version=1.2.3`, `level=major` -\u003e `new_version=2.0.0`\n- `current_version=v1.2.3`, `level=minor` -\u003e `new_version=v1.3.0`\n\nIt would be more useful to use this with other GitHub Actions' outputs.\n\n## Inputs\n\n|       NAME        |                                       DESCRIPTION                                        |   TYPE   | REQUIRED | DEFAULT |\n|-------------------|------------------------------------------------------------------------------------------|----------|----------|---------|\n| `current_version` | The current version.                                                                     | `string` | `true`   | `N/A`   |\n| `level`           | A semver update level `{major, premajor, minor, preminor, patch, prepatch, prerelease}`. | `string` | `false`  | `minor` |\n\n## Outputs\n\n|     NAME      |        DESCRIPTION         |   TYPE   |\n|---------------|----------------------------|----------|\n| `new_version` | The bumped semver version. | `string` |\n\n## Example\n\n### Simple\n\n```yaml\nname: Push a new tag with minor update\n\non:\n  push:\n    branches:\n      - master\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: actions-ecosystem/action-get-latest-tag@v1\n        id: get-latest-tag\n\n      - uses: actions-ecosystem/action-bump-semver@v1\n        id: bump-semver\n        with:\n          current_version: ${{ steps.get-latest-tag.outputs.tag }}\n          level: minor\n\n      - uses: actions-ecosystem/action-push-tag@v1\n        with:\n          tag: ${{ steps.bump-semver.outputs.new_version }}\n          message: '${{ steps.bump-semver.outputs.new_version }}: PR #${{ github.event.pull_request.number }} ${{ github.event.pull_request.title }}'\n```\n\nFor a further practical example, see [.github/workflows/release.yml](.github/workflows/release.yml).\n\n## License\n\nCopyright 2020 The Actions Ecosystem Authors.\n\nAction Bump Semver is released under the [Apache License 2.0](./LICENSE).\n\n\u003c!-- badge links --\u003e\n\n[actions-workflow-test]: https://github.com/actions-ecosystem/action-bump-semver/actions?query=workflow%3ATest\n[actions-workflow-test-badge]: https://img.shields.io/github/workflow/status/actions-ecosystem/action-bump-semver/Test?label=Test\u0026style=for-the-badge\u0026logo=github\n\n[release]: https://github.com/actions-ecosystem/action-bump-semver/releases\n[release-badge]: https://img.shields.io/github/v/release/actions-ecosystem/action-bump-semver?style=for-the-badge\u0026logo=github\n\n[license]: LICENSE\n[license-badge]: https://img.shields.io/github/license/actions-ecosystem/action-bump-semver?style=for-the-badge\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factions-ecosystem%2Faction-bump-semver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factions-ecosystem%2Faction-bump-semver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factions-ecosystem%2Faction-bump-semver/lists"}