{"id":5806775,"name":"HardNorth/github-version-generate","ecosystem":"actions","description":"A GitHub action for reading, bumping, generating, formatting applications versions in release pipelines.\n","homepage":"","licenses":"apache-2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/HardNorth/github-version-generate","keywords_array":["actions","bump","bump-version","bumping","bumpversion","generate","github","prerelease","release","release-automation","release-pipelines","version","versioning"],"namespace":"HardNorth","versions_count":12,"first_release_published_at":"2020-12-25T17:46:12.000Z","latest_release_published_at":"2024-02-03T15:54:38.000Z","latest_release_number":"v1.4.0","last_synced_at":"2026-04-11T12:16:22.529Z","created_at":"2023-01-04T16:28:21.087Z","updated_at":"2026-04-11T12:16:22.529Z","registry_url":"https://github.com/HardNorth/github-version-generate","install_command":null,"documentation_url":null,"metadata":{"name":"Generate version","description":"A GitHub action for reading, bumping, generating, formatting applications versions in release pipelines.\n","author":"Vadzim Hushchanskou","branding":{"icon":"hash","color":"gray-dark"},"inputs":{"version-source":{"description":"A source of a CURRENT_VERSION, might be:\n- file\n- variable\n","required":true,"default":"variable"},"version":{"description":"A version variable for version source","required":false},"version-file":{"description":"A path to a file with which holds a version","required":false},"version-file-extraction-pattern":{"description":"A RegEx to extract version from a version-source file. Should either match a full version, or return it as the\nfirst group. E.G:\n- '(?\u003c=version=).+' - pattern match, e.g: 'version=5.0.3-SNAPSHOT' will extract matched string '5.0.3-SNAPSHOT'\n- '\"version\":\\s*\"([^\"]+)\"' - group match, will extract the first group. e.g: '\"version\": \"1.0.0\",' to '1.0.0'\n\nIn case if there are groups in a pattern the first group will be extracted.\n","required":false,"default":".+"},"release-version-cut-snapshot":{"description":"Remove \"SNAPSHOT\" suffix from source version","required":false,"default":"true"},"release-version-cut-prerelease":{"description":"Remove prerelease part from source version","required":false,"default":"false"},"release-version-cut-build-metadata":{"description":"Remove build metadata suffix from source version","required":false,"default":"true"},"release-version-generate-build-metadata":{"description":"Put build metadata (release date, commit sha, etc.) into result RELEASE_VERSION","required":false,"default":"false"},"release-version-build-metadata-pattern":{"description":"Format pattern for build metadata. EG: \"build.{date[YYYY-MM-dd]}.{hash[0, 6]}\". It is also possible not to\ncustomize variable outputs omitting square braces ([]) or even not to use any variables. Supported variables:\n- date[date_format]: a current date in UTC or time set in 'release-version-build-metadata-datetime' variable.\nSupports formatting included in square braces ([]). The date format will be applied by \"Moment.js\". Default format\nis ['YYYY-MM-DD'].\nLibrary: https://momentjs.com/\n- hash[begin_index_inclusive, end_index_exclusive]: a commit hash, which triggered this build. You can shorten\nthe hash by specifying begin and end characters indexes included in square braces ([]), separated by a comma.\nDefault begin, end values are: [0, 8].\n","required":false,"default":"build.{date}.{hash}"},"release-version-build-metadata-datetime":{"description":"A time stamp in ISO format to put into a build metadata string, by default the action uses current time in UTC timezone","required":false},"next-version-increment-major":{"description":"Increment major version in result NEXT_VERSION, resets all other versions to \"0\" and prerelease to \"1\" if found","required":false,"default":"false"},"next-version-increment-minor":{"description":"Increment minor version in result NEXT_VERSION, resets patch to \"0\" and prerelease to \"1\" if found","required":false,"default":"false"},"next-version-increment-patch":{"description":"Increment patch version in result NEXT_VERSION, resets prerelease to \"1\" if found","required":false,"default":"false"},"next-version-increment-prerelease":{"description":"Increment prerelease version in result NEXT_VERSION","required":false,"default":"false"},"next-version-cut-prerelease":{"description":"Remove prerelease part from source version","required":false,"default":"false"},"next-version-cut-build-metadata":{"description":"Remove build metadata suffix from source version","required":false,"default":"true"},"next-version-put-build-metadata":{"description":"Put build metadata (release date, commit sha, etc.) into result NEXT_VERSION. Will be the same as for RELEASE_VERSION","required":false,"default":"false"},"data-extract":{"required":false,"default":"false","description":"Enable data extraction mechanism.\n\nExample:\n  data-extract: true\n  data-extract-name: 'first_variable'\n  data-extract-paths: '/path/to/file'\n  data-extract-patterns: '/(?\u003c=variable.name=).+/i'\n\nThere are several use cases depending on RegEx format and flags:\n* RegEx Match only - As on example, above. Variable name in 'data-extract-name' parameter will be used 'as is', \n  variable value will be set on matched text. Extraction will fail if 'data-extract-name' is not set.\n* One group - Variable name in 'data-extract-name' parameter will be used 'as is', variable value will be set on \n  group value. Extraction will fail if 'data-extract-name' is not set.\n* Two or more groups - If 'data-extract-name' value is set then the first group will be used as value, and other\n  groups will be ignored, if it's not set, then the first group will used as variable name and the second group\n  will be used as value.\n* Multiple match (multiple RegEx, 'g' flag in RegEx is set, etc) - If 'data-extract-name' value is set the action\n  will extract all RegEx matches and export variables with underscore and variable index as suffix, except the \n  first one.\n  E.G.: first_variable -\u003e FIRST_VARIABLE, FIRST_VARIABLE_1, etc; If 'data-extract-name' value is not set then\n  two groups in every RegEx is a requirement, the first group will used as variable name and the second group will\n  be used as value. If multiple files have the same variable names, output values will be overwritten with the\n  latter matches. \n\nVariable name convert rules:\n* Spaces and symbols '-', even multiple in a row, will be converted to single symbol '_';\n* Other special characters except digits and letters will be cut off;\n* The variable name will be converted to upper case.\n"},"data-extract-name":{"required":false,"description":"Variable name to which extracted data will be placed, standard variable name conversion rules are also applied to \nthis field. If not set it will be extracted from RegEx groups. See usage use cases above.\n"},"data-extract-paths":{"required":false,"description":"Semicolon (\";\") separated path list of files which to use to extract data"},"data-extract-patterns":{"required":false,"description":"Semicolon (\";\") separated RegEx pattern list wrapped with \"/\" symbols, with flags"}},"outputs":{"CURRENT_VERSION":{"description":"A version grabbed from a variable or a file without any changes"},"RELEASE_VERSION":{"description":"A version prepared for release tagging, usually with removed \"SNAPSHOT\" suffix and optionally with a build metadata"},"NEXT_VERSION":{"description":"A version prepared for pushing into a repository instead of \"CURRENT_VERSION\" after release, usually incremented by 1"}},"runs":{"using":"node20","main":"build/index.js"},"default_branch":"develop","path":null},"repo_metadata":{"uuid":"274841032","full_name":"HardNorth/github-version-generate","owner":"HardNorth","description":"A GitHub action for application version bump, generation, reading and format in release pipelines","archived":false,"fork":false,"pushed_at":"2024-02-03T15:54:41.000Z","size":2275,"stargazers_count":20,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2024-02-04T12:28:48.258Z","etag":null,"topics":["actions","bump","bump-version","bumping","bumpversion","generate","github","prerelease","release","release-automation","release-pipelines","version","versioning"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HardNorth.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2020-06-25T06:02:20.000Z","updated_at":"2023-11-16T08:51:59.000Z","dependencies_parsed_at":"2023-02-08T10:01:49.278Z","dependency_job_id":"6603544f-2c59-44d3-85eb-c24d5ddd1783","html_url":"https://github.com/HardNorth/github-version-generate","commit_stats":{"total_commits":180,"total_committers":3,"mean_commits":60.0,"dds":0.1611111111111111,"last_synced_commit":"f23a655418502fc2d2f4138a57b34e0d27bc6f1a"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HardNorth","download_url":"https://codeload.github.com/HardNorth/github-version-generate/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":184344730,"owners_count":11509676,"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"},"owner_record":{"login":"HardNorth","name":"Vadzim Hushchanskou","uuid":"4364466","kind":"user","description":"","email":"","website":null,"location":"Minsk, Belarus","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/4364466?u=e8d7666fe356be2361faeb4d271f5fb2712cbdb4\u0026v=4","repositories_count":23,"last_synced_at":"2023-08-12T10:21:08.818Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/HardNorth","created_at":"2022-11-07T01:34:27.351Z","updated_at":"2023-08-12T10:21:09.612Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HardNorth","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HardNorth/repositories"},"tags":[{"name":"v1.4","sha":"e627d02e2a2b756c5e76bd2d8880ebc3521dbc68","kind":"tag","published_at":"2024-02-03T15:54:38.000Z","download_url":"https://codeload.github.com/HardNorth/github-version-generate/tar.gz/v1.4","html_url":"https://github.com/HardNorth/github-version-generate/releases/tag/v1.4","dependencies_parsed_at":null,"dependency_job_id":"338497e3-ef36-4651-81b6-0b5f534d059e","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1.4/manifests"},{"name":"v1.4.0","sha":"e627d02e2a2b756c5e76bd2d8880ebc3521dbc68","kind":"tag","published_at":"2024-02-03T15:54:38.000Z","download_url":"https://codeload.github.com/HardNorth/github-version-generate/tar.gz/v1.4.0","html_url":"https://github.com/HardNorth/github-version-generate/releases/tag/v1.4.0","dependencies_parsed_at":null,"dependency_job_id":"1a405678-7304-4fcf-9a62-709a9cbf3cdf","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1.4.0/manifests"},{"name":"v1.3.0","sha":"91998704a2b37be20604933d9c989ebade9c5f89","kind":"tag","published_at":"2022-10-14T14:19:36.000Z","download_url":"https://codeload.github.com/HardNorth/github-version-generate/tar.gz/v1.3.0","html_url":"https://github.com/HardNorth/github-version-generate/releases/tag/v1.3.0","dependencies_parsed_at":"2023-06-01T10:48:02.110Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1.3.0/manifests"},{"name":"v1","sha":"91998704a2b37be20604933d9c989ebade9c5f89","kind":"tag","published_at":"2022-10-14T14:19:36.000Z","download_url":"https://codeload.github.com/HardNorth/github-version-generate/tar.gz/v1","html_url":"https://github.com/HardNorth/github-version-generate/releases/tag/v1","dependencies_parsed_at":"2023-06-01T10:48:07.500Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1/manifests"},{"name":"v1.3","sha":"91998704a2b37be20604933d9c989ebade9c5f89","kind":"tag","published_at":"2022-10-14T14:19:36.000Z","download_url":"https://codeload.github.com/HardNorth/github-version-generate/tar.gz/v1.3","html_url":"https://github.com/HardNorth/github-version-generate/releases/tag/v1.3","dependencies_parsed_at":"2023-06-01T10:48:04.951Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1.3/manifests"},{"name":"v1.2.0","sha":"497e1ec34200d4d21b45afd18315dd1b0990037c","kind":"tag","published_at":"2022-09-03T18:49:16.000Z","download_url":"https://codeload.github.com/HardNorth/github-version-generate/tar.gz/v1.2.0","html_url":"https://github.com/HardNorth/github-version-generate/releases/tag/v1.2.0","dependencies_parsed_at":"2023-05-31T10:44:40.641Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1.2.0/manifests"},{"name":"v1.1.2","sha":"3a10d963bbc3646bcbe28de8778e330b61133b88","kind":"tag","published_at":"2022-04-20T15:49:43.000Z","download_url":"https://codeload.github.com/HardNorth/github-version-generate/tar.gz/v1.1.2","html_url":"https://github.com/HardNorth/github-version-generate/releases/tag/v1.1.2","dependencies_parsed_at":"2023-05-31T10:44:41.087Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1.1.2/manifests"},{"name":"v1.1.1","sha":"68ccbecf8b1ba273590181ded9fa2e301d9ad3cf","kind":"tag","published_at":"2021-05-19T07:08:08.000Z","download_url":"https://codeload.github.com/HardNorth/github-version-generate/tar.gz/v1.1.1","html_url":"https://github.com/HardNorth/github-version-generate/releases/tag/v1.1.1","dependencies_parsed_at":"2023-05-31T10:44:41.522Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1.1.1/manifests"},{"name":"v1.1.0","sha":"ed71b448d690970ad79780e3002e0b84b110704b","kind":"tag","published_at":"2021-01-29T06:39:07.000Z","download_url":"https://codeload.github.com/HardNorth/github-version-generate/tar.gz/v1.1.0","html_url":"https://github.com/HardNorth/github-version-generate/releases/tag/v1.1.0","dependencies_parsed_at":"2023-05-31T10:44:41.931Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1.1.0/manifests"},{"name":"v1.0.2","sha":"98d2f229a8cee6a23a36ac388d1e33145613aa57","kind":"tag","published_at":"2020-12-25T17:50:16.000Z","download_url":"https://codeload.github.com/HardNorth/github-version-generate/tar.gz/v1.0.2","html_url":"https://github.com/HardNorth/github-version-generate/releases/tag/v1.0.2","dependencies_parsed_at":"2023-05-31T10:44:42.273Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1.0.2/manifests"},{"name":"v1.0.1","sha":"1d3f06d8ea9eb49ed16fb169e35f0d784e919f08","kind":"tag","published_at":"2020-12-25T17:49:08.000Z","download_url":"https://codeload.github.com/HardNorth/github-version-generate/tar.gz/v1.0.1","html_url":"https://github.com/HardNorth/github-version-generate/releases/tag/v1.0.1","dependencies_parsed_at":"2023-05-31T10:44:42.643Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"03b0319034e84327144475e6cc281f687745a809","kind":"tag","published_at":"2020-12-25T17:46:12.000Z","download_url":"https://codeload.github.com/HardNorth/github-version-generate/tar.gz/v1.0.0","html_url":"https://github.com/HardNorth/github-version-generate/releases/tag/v1.0.0","dependencies_parsed_at":"2023-05-31T10:44:43.040Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2024-02-04T12:31:59.638Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":57,"rankings":{"downloads":null,"dependent_repos_count":6.0687688163524,"dependent_packages_count":0.0,"stargazers_count":7.783235620345429,"forks_count":11.034701315164,"docker_downloads_count":null,"average":6.221676437965457},"purl":"pkg:githubactions/HardNorth/github-version-generate","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/HardNorth/github-version-generate","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/HardNorth/github-version-generate","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/HardNorth/github-version-generate/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2023-08-09T09:39:08.902Z","issues_count":5,"pull_requests_count":38,"avg_time_to_close_issue":8376840.8,"avg_time_to_close_pull_request":100899.31578947368,"issues_closed_count":5,"pull_requests_closed_count":38,"pull_request_authors_count":2,"issue_authors_count":5,"avg_comments_per_issue":3.0,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":38,"bot_issues_count":0,"bot_pull_requests_count":19,"past_year_issues_count":0,"past_year_pull_requests_count":9,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":93701.44444444444,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":9,"past_year_pull_request_authors_count":2,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":6,"past_year_merged_pull_requests_count":9,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/HardNorth%2Fgithub-version-generate/issues"},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/HardNorth%2Fgithub-version-generate/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/HardNorth%2Fgithub-version-generate/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/HardNorth%2Fgithub-version-generate/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/HardNorth%2Fgithub-version-generate/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/HardNorth%2Fgithub-version-generate/codemeta","maintainers":[]}