{"id":18975318,"url":"https://github.com/dolittle/increment-version-action","last_synced_at":"2025-09-02T14:35:49.075Z","repository":{"id":40764146,"uuid":"272980453","full_name":"dolittle/increment-version-action","owner":"dolittle","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-10T01:26:42.000Z","size":281,"stargazers_count":2,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T10:33:27.286Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/dolittle.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}},"created_at":"2020-06-17T13:24:55.000Z","updated_at":"2023-01-23T16:28:08.000Z","dependencies_parsed_at":"2023-02-08T16:30:45.458Z","dependency_job_id":null,"html_url":"https://github.com/dolittle/increment-version-action","commit_stats":{"total_commits":24,"total_committers":3,"mean_commits":8.0,"dds":0.08333333333333337,"last_synced_commit":"aed7982f16fb7877dac6cdf0b7df9c46ae0b1f6f"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolittle%2Fincrement-version-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolittle%2Fincrement-version-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolittle%2Fincrement-version-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolittle%2Fincrement-version-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dolittle","download_url":"https://codeload.github.com/dolittle/increment-version-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249220843,"owners_count":21232421,"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-08T15:18:40.747Z","updated_at":"2025-04-16T09:34:35.483Z","avatar_url":"https://github.com/dolittle.png","language":"TypeScript","readme":"# GitHub Action - Increment Version\nThis GitHub action increments a given version.\n\n![Github JavaScript Actions CI/CD](https://github.com/dolittle/increment-version-action/workflows/Github%20JavaScript%20Actions%20CI/CD/badge.svg)\n\n### Pre requisites\nCreate a workflow `.yml` file in your `.github/workflows` directory. An [example workflow](#example-workflow) is available below.\n\nFor more information, reference the GitHub Help Documentation for [Creating a workflow file](https://help.github.com/en/articles/configuring-a-workflow#creating-a-workflow-file)\n\n### Inputs\n- `version` (required): The version to increment\n- `release-type` (required): The release type to increment the version with\n- `prerelease-identifier`: The prerelease identifier to use when incrementing\n\n### Outputs\n- `previous-version`: The inputted version\n- `next-version`: The incremented version\n\n### Example Workflow\n```yaml\non:\n  push:\n    branches:\n    - '**'\n  pull_request:\n    types: [closed]\n\nname: Increment Version\n\njobs:\n  context:\n    name: Increment Version\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n      - name: Increment version\n        uses: dolittle/increment-version-action@v2\n        with:\n          version: 2.0.0\n          release-type: minor\n\n```\n\n### Example Workflow - Increment to new minor prerelease\n```yaml\non:\n  push:\n    branches:\n    - '**'\n  pull_request:\n    types: [closed]\n\nname: Increment Version\n\njobs:\n  context:\n    name: Increment Version\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v2\n      - name: Increment version\n        uses: dolittle/increment-version-action@v2\n        with:\n            version: 2.0.0\n            release-type: preminor\n            prerelease-identifier: alpha\n\n```\n\n## Contributing\nWe're always open for contributions and bug fixes!\n\n### Pre requisites\n- node \u003c= 12\n- yarn\n- git\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdolittle%2Fincrement-version-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdolittle%2Fincrement-version-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdolittle%2Fincrement-version-action/lists"}