{"id":23197198,"url":"https://github.com/jsnjack/monova","last_synced_at":"2025-07-09T11:02:07.627Z","repository":{"id":46318195,"uuid":"101690048","full_name":"jsnjack/monova","owner":"jsnjack","description":"Automatically calculates version of the application based on the commit messages","archived":false,"fork":false,"pushed_at":"2025-02-09T14:02:43.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T14:23:22.342Z","etag":null,"topics":["go","golang","hacktoberfest","versioning"],"latest_commit_sha":null,"homepage":"","language":"Go","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/jsnjack.png","metadata":{"files":{"readme":"README.md","changelog":"history.go","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-28T21:34:46.000Z","updated_at":"2025-02-09T14:02:41.000Z","dependencies_parsed_at":"2022-08-25T19:41:49.383Z","dependency_job_id":null,"html_url":"https://github.com/jsnjack/monova","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsnjack%2Fmonova","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsnjack%2Fmonova/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsnjack%2Fmonova/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsnjack%2Fmonova/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsnjack","download_url":"https://codeload.github.com/jsnjack/monova/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247312097,"owners_count":20918341,"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":["go","golang","hacktoberfest","versioning"],"created_at":"2024-12-18T14:28:57.341Z","updated_at":"2025-04-05T08:42:26.576Z","avatar_url":"https://github.com/jsnjack.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"monova\n=====\n\n### What is it?\nmonova automatically calculates version of the application based on the commit messages\n\n### How to use?\nmonova uses format `Major.Minor.Patch` (f.e. `1.11.3`) to calculate the version.\nTo automatically increase the version of the application, add one of the reserved\nwords to the commit message.\n\nCheck [Makefile](https://github.com/jsnjack/monova/blob/master/Makefile) to see how it could be integrated into the build process\n\n#### Reserved words\n##### Major version\n- `:M:`\n- `:major:`\n- `M`\n\n##### Minor version\n- `:m:`\n- `:minor:`\n- `m`\n\n##### Patch version\n- `:p:`\n- `:patch:`\n- `p`\n\n#### Example of the commit message\n```bash\n$ git commit -m \":m: Add progress bar\"\n$ git commit -m \":major: Add history flag\"\n$ git commit -m \"p Update help command\"\n```\n\n#### Overview\n```\n./monova -h\ncalculate new version and print it\n\nUsage:\n  monova [flags]\n  monova [command]\n\nAvailable Commands:\n  checkpoint  manually set the version\n  completion  Generate the autocompletion script for the specified shell\n  help        Help about any command\n  history     print the history of versions\n  reset       remove history file\n\nFlags:\n  -d, --debug     enable debug mode\n  -h, --help      help for monova\n  -v, --version   print version and exit\n```\n\n#### Using checkpoints\nYou can force any version by creating a checkpoint. Checkpoint is an empty commit\nwith specially formatted message:\n```bash\n$ monova checkpoint 1.0.0\n$ git log\n01de65a Version:1.0.0 generated by monova\n010a56a :m: Add progress bar\n73b6a72 :m: Add history flag\n270f422 :p: Update help command\n```\n\n### How to install\n\n - Using [grm](https://github.com/jsnjack/grm)\n    ```bash\n    grm install jsnjack/monova\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsnjack%2Fmonova","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsnjack%2Fmonova","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsnjack%2Fmonova/lists"}