{"id":3830,"url":"https://github.com/alexshevch/cordova-auto-patch","last_synced_at":"2025-08-04T00:32:17.638Z","repository":{"id":57207472,"uuid":"42161476","full_name":"alexshevch/cordova-auto-patch","owner":"alexshevch","description":"Automatically increment patch version in config.xml","archived":false,"fork":false,"pushed_at":"2016-06-18T20:38:07.000Z","size":375,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-01T03:34:08.403Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/alexshevch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-09T06:54:16.000Z","updated_at":"2021-01-27T10:27:22.000Z","dependencies_parsed_at":"2022-09-08T14:22:35.015Z","dependency_job_id":null,"html_url":"https://github.com/alexshevch/cordova-auto-patch","commit_stats":null,"previous_names":["shevaroller/cordova-auto-patch"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alexshevch/cordova-auto-patch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexshevch%2Fcordova-auto-patch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexshevch%2Fcordova-auto-patch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexshevch%2Fcordova-auto-patch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexshevch%2Fcordova-auto-patch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexshevch","download_url":"https://codeload.github.com/alexshevch/cordova-auto-patch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexshevch%2Fcordova-auto-patch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268634014,"owners_count":24281886,"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","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"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":[],"created_at":"2024-01-05T20:16:52.715Z","updated_at":"2025-08-04T00:32:17.387Z","avatar_url":"https://github.com/alexshevch.png","language":"JavaScript","funding_links":[],"categories":["Tools"],"sub_categories":[],"readme":"# cordova-auto-patch\n\n  Automatically increment patch version in config.xml.\n\nAll it does is increments value of `version` key. For example, `1.0.1` becomes `1.0.2`.\n\nPoint to the directory with config.xml and cordova-auto-patch will do the rest.\n\n\n# Update 1.2.x [![Build Status](https://secure.travis-ci.org/shevaroller/cordova-auto-patch.png)](http://travis-ci.org/shevaroller/cordova-auto-patch)\n\n\nThe latest update does not break your previous code, but adds an option to manually set version number.\n\nTo do that, pass full version number in a string format as the second parameter.\n\n\n## Installation\n    npm install cordova-auto-patch --save\n\n## Usage\n    var patch = require('cordova-auto-patch');\n    \n    // to autoincrement the patch part of the version\n    patch('./\u003cpath_to_config\u003e/');\n\n    // to manually set the version\n    patch('./\u003cpath_to_config\u003e/', '1.0.14');\n\nUse it with your gulp or grunt cordova build tasks:\n\n    gulp.task('build', function() {\n        return gulp.src(\u003ccordova project source path\u003e)\n            .pipe(create())\n            .pipe(plugin(\u003cadd plugins\u003e))\n            .pipe(patch(\u003ccordova project source path\u003e))\n            .pipe(cordova build())\n            .pipe(gulp.dest(\u003ccordova project build path\u003e));\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexshevch%2Fcordova-auto-patch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexshevch%2Fcordova-auto-patch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexshevch%2Fcordova-auto-patch/lists"}