{"id":21270018,"url":"https://github.com/ushiradineth/semver_ci","last_synced_at":"2026-04-30T02:35:25.327Z","repository":{"id":220544770,"uuid":"751878501","full_name":"ushiradineth/semver_ci","owner":"ushiradineth","description":"Automate Semantic Versioning a Git Flow Repository","archived":false,"fork":false,"pushed_at":"2024-02-03T07:19:26.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-19T04:09:16.745Z","etag":null,"topics":["bash","cicd"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ushiradineth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-02-02T14:25:29.000Z","updated_at":"2025-06-11T09:39:27.000Z","dependencies_parsed_at":"2024-04-18T09:53:34.991Z","dependency_job_id":null,"html_url":"https://github.com/ushiradineth/semver_ci","commit_stats":null,"previous_names":["ushiradineth/semverci","ushiradineth/semver_ci"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ushiradineth/semver_ci","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ushiradineth%2Fsemver_ci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ushiradineth%2Fsemver_ci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ushiradineth%2Fsemver_ci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ushiradineth%2Fsemver_ci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ushiradineth","download_url":"https://codeload.github.com/ushiradineth/semver_ci/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ushiradineth%2Fsemver_ci/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32452740,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bash","cicd"],"created_at":"2024-11-21T08:14:10.415Z","updated_at":"2026-04-30T02:35:25.312Z","avatar_url":"https://github.com/ushiradineth.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SemVerCI\n\nAutomate Semantic Versioning a Git Repository using [GitFlow](https://nvie.com/posts/a-successful-git-branching-model/) Standards\n\n## Disclaimer\n\n- Please note that GitHub workflows provided in this repository are not tested extensively. Use them at your own risk.\n- The scripts are not dependant on Bitbucket Pipelines but was only tested on it.\n\n## Contributing\n\n- Contributions via pull requests are appreciated. Feel free to suggest improvements or report issues.\n\n## Usage\n\n### To switch from Node.js versioning to Spring Boot versioning, make the following changes\n\n- Comment out or remove the Node.js versioning related commands in the version.sh script.\n- Uncomment or add Spring Boot versioning related commands in the version.sh script.\n\n## Versioning Scripts\n\n- ‘version.sh’\nThe ‘version.sh’ script that is used for maintaining the semantic versioning system. It takes two arguments:\n\n1. Release (snapshot, rc, main):\n\n    - snapshot: Sets the version to ‘2.0.0-SNAPSHOT’ in the ‘develop’ branch.\n\n    - rc: Increments and sets the release candidate version in release branches (2.0.0-rc1, 2.0.0-rc2, etc.).\n\n    - main: Cleans up build tags in the main branch (2.0.0-rc1 to 2.0.0) and creates a Git Tag with the version.\n\n2. Semantic Version (major, minor, patch): Increments the specified segment of the semantic version.\n\n- ‘release.sh’\nThe ‘release.sh’ script is part of the main pipeline. It compares release and develop versions and updates the develop version if needed.\n\n- ‘hotfix.sh’\nThe ‘hotfix.sh’ script is part of the main pipeline. It increments the patch version for hotfixes, updates develop if needed, and commits the changes.\n\n- ‘initiate-release-branch.sh’\nThe ‘initiate-release-branch.sh’ script creates a release branch from the develop branch.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fushiradineth%2Fsemver_ci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fushiradineth%2Fsemver_ci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fushiradineth%2Fsemver_ci/lists"}