{"id":16626954,"url":"https://github.com/scomans/increment-version-action","last_synced_at":"2025-03-11T13:32:11.072Z","repository":{"id":183289064,"uuid":"597765982","full_name":"scomans/increment-version-action","owner":"scomans","description":"GitHub Action that increments version based on the current latest release","archived":false,"fork":false,"pushed_at":"2024-05-25T10:20:45.000Z","size":1520,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T03:08:02.195Z","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/scomans.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":"2023-02-05T15:24:16.000Z","updated_at":"2024-05-25T10:19:45.000Z","dependencies_parsed_at":"2024-05-04T11:44:39.635Z","dependency_job_id":null,"html_url":"https://github.com/scomans/increment-version-action","commit_stats":null,"previous_names":["scomans/increment-version-action"],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scomans%2Fincrement-version-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scomans%2Fincrement-version-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scomans%2Fincrement-version-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scomans%2Fincrement-version-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scomans","download_url":"https://codeload.github.com/scomans/increment-version-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243042746,"owners_count":20226698,"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-12T04:12:42.633Z","updated_at":"2025-03-11T13:32:11.038Z","avatar_url":"https://github.com/scomans.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Increment version based on latest release action\n\nThis action gets the apps affected by the changes since the last successful build and sets them as outputs.\n\n## Inputs\n\n### `repo`\n\nThe report to check for releases (Defaults to environment variable: `GITHUB_REPOSITORY`).\nExample: `scomans/increment-version-action`\n\n### `tagPrefix`\n\nThe prefix that might be in front of the version. Example: `v`\n\n### `releaseType`\n\n**Required** The release type. Possible values: `MAJOR`, `MINOR`, `PATCH`\n\n### `github_token`\n\n**Required if repo is private** Your GitHub access token (see Usage below).\n\n## Outputs\n\n### `newVersion`\n\nThe version after the increment\n\n### `currentVersion`\n\nThe version before the increment\n\n## Example usage\n\n```yaml\non:\n  workflow_dispatch:\n    inputs:\n      type:\n        description: 'Release type'\n        required: true\n        default: 'MINOR'\n        type: choice\n        options:\n          - MAJOR\n          - MINOR\n          - PATCH\n\njobs:\n  increment-version:\n    runs-on: ubuntu-latest\n    name: Get affected apps\n    outputs:\n      newVersion: ${{ steps.version_increment.outputs.newVersion }}\n    steps:\n      - uses: actions/checkout@v1\n        with:\n          fetch-depth: 0\n\n      - uses: scomans/increment-version-action@v1\n        id: version_increment\n        with:\n          branch: ${{ github.event.inputs.type }}\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n  app-a:\n    runs-on: ubuntu-latest\n    name: build app a\n    needs: increment-version\n    steps:\n      - name: Update version in source\n        run: \u003cDO THE UPDATE HERE\u003e ${{ needs.increment-version.output.newVersion }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscomans%2Fincrement-version-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscomans%2Fincrement-version-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscomans%2Fincrement-version-action/lists"}