{"id":16886102,"url":"https://github.com/vdustr/semver-action","last_synced_at":"2025-03-20T06:16:17.303Z","repository":{"id":60030663,"uuid":"540675232","full_name":"VdustR/semver-action","owner":"VdustR","description":"Simple semver github action supporting experimental versioning.","archived":false,"fork":false,"pushed_at":"2022-09-24T07:55:35.000Z","size":5,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-19T12:53:32.326Z","etag":null,"topics":["action","ci","github","publish","release","semantic","semver","version","workflow"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/simple-semantic-version","language":null,"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/VdustR.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":"2022-09-24T01:45:21.000Z","updated_at":"2024-09-09T11:58:02.000Z","dependencies_parsed_at":"2023-01-11T17:23:31.755Z","dependency_job_id":null,"html_url":"https://github.com/VdustR/semver-action","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.125,"last_synced_commit":"728bc979cd3f230e47da2787489f3b9633fce1e8"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VdustR%2Fsemver-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VdustR%2Fsemver-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VdustR%2Fsemver-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VdustR%2Fsemver-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VdustR","download_url":"https://codeload.github.com/VdustR/semver-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244560394,"owners_count":20472220,"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":["action","ci","github","publish","release","semantic","semver","version","workflow"],"created_at":"2024-10-13T16:38:18.817Z","updated_at":"2025-03-20T06:16:17.277Z","avatar_url":"https://github.com/VdustR.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Semantic Version\n\nSimple semantic versioning supporting experimental releases.\n\n## Usage\n\n```yml\nname: Test Version\n\non:\n  push:\n    branches:\n      - experimental\n    tags:\n      - v*.*.*\n      - v*.*.*-*\n\njobs:\n  container-job:\n    runs-on: ubuntu-latest\n\n    steps:\n      - id: version\n        uses: VdustR/semver-action@v0\n        with:\n          defaultTag: \"latest\" # Optional. Only when tags matching `v*.*.*` .\n      - name: Echo result\n        run: |\n          echo ${{ steps.version.outputs.version }}\n          echo ${{ steps.version.outputs.tag }}\n```\n\n| Git tag       | Version      | Package Tag     |\n| ------------- | ------------ | --------------- |\n| v1.2.3        | 1.2.3        | `${defaultTag}` |\n| v1.2.3-rc     | 1.2.3-rc     | rc              |\n| v1.2.3-rc.1   | 1.2.3-rc.1   | rc              |\n| v1.2.3-beta.1 | 1.2.3-beta.1 | beta            |\n\n| Git Branch   | Version                     | Package Tag  |\n| ------------ | --------------------------- | ------------ |\n| nightly      | 0.0.0-nightly.`${sha}`      | nightly      |\n| experimental | 0.0.0-experimental.`${sha}` | experimental |\n\n## Example\n\n```yml\nname: NPM Publish\n\non:\n  push:\n    branches:\n      - experimental\n    tags:\n      - v*.*.*\n      - v*.*.*-*\n\njobs:\n  container-job:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v3\n      - uses: pnpm/action-setup@v2\n        with:\n          version: 7\n      - uses: actions/setup-node@v3\n        with:\n          node-version: \"18\"\n          cache: \"pnpm\"\n      - run: pnpm install --frozen-lockfile\n      - name: Build\n        run: pnpm build\n      - id: version\n        uses: VdustR/semver-action@v0\n      - name: version\n        run: npm --no-git-tag-version version ${{ steps.version.outputs.version }}\n      - name: Publish\n        uses: JS-DevTools/npm-publish@v1\n        with:\n          token: ${{ secrets.NPM_TOKEN }}\n          tag: ${{ steps.version.outputs.tag }}\n          access: public\n```\n\n## License\n\n[MIT](./LICENSE)\n\nCopyright ©️ 2022-present ViPro (京京)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdustr%2Fsemver-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvdustr%2Fsemver-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvdustr%2Fsemver-action/lists"}