{"id":24983408,"url":"https://github.com/mozilla-mobile/fenix-beta-version","last_synced_at":"2025-04-11T20:51:11.487Z","repository":{"id":37856683,"uuid":"356608953","full_name":"mozilla-mobile/fenix-beta-version","owner":"mozilla-mobile","description":"GitHub Action that discovers the current Fenix Beta version","archived":false,"fork":false,"pushed_at":"2023-02-16T08:33:23.000Z","size":30,"stargazers_count":5,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-25T16:51:37.958Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mozilla-mobile.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-10T14:39:20.000Z","updated_at":"2024-03-15T02:56:09.000Z","dependencies_parsed_at":"2024-06-19T19:29:47.638Z","dependency_job_id":"8d760009-afa1-4273-b399-2933a72dd4a6","html_url":"https://github.com/mozilla-mobile/fenix-beta-version","commit_stats":{"total_commits":22,"total_committers":6,"mean_commits":"3.6666666666666665","dds":0.7727272727272727,"last_synced_commit":"f4cdc2f804e446b8fc838434f16ab4592d49bc4a"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla-mobile%2Ffenix-beta-version","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla-mobile%2Ffenix-beta-version/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla-mobile%2Ffenix-beta-version/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mozilla-mobile%2Ffenix-beta-version/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mozilla-mobile","download_url":"https://codeload.github.com/mozilla-mobile/fenix-beta-version/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248480512,"owners_count":21110936,"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":[],"created_at":"2025-02-04T09:14:11.897Z","updated_at":"2025-04-11T20:51:11.462Z","avatar_url":"https://github.com/mozilla-mobile.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# extract-major-beta-version\n\nThis _GitHub Action_ determines the current major Beta version.\n\n\nTo do this the *GITHUB_REPOSITORY* this is applied to has to:\n\n- have a [_release_](https://docs.github.com/en/repositories/releasing-projects-on-github/about-releases) following the following naming scheme\n\n  ```\n  \\d+.0.0-beta.\\d+\n  ```\n- have a file named `version.txt` in the project root containing the latest beta version name (following the same naming scheme as above).\n\n\u003cbr\u003e\n\nIt publishes the last major version of a beta release (like `88`) in the `beta_version` output, which can then be used in other _GitHub Actions_.\n\nExample usage:\n\n```\n      - name: \"Discover the last beta release major version\"\n        id: extract-major-beta-version\n        uses: mozilla-mobile/extract-major-beta-version@3.0.0\n\n      - name \"Print the version number\"\n        run: \"The current _major beta_ number is $${{steps.extract-major-beta-version.outputs.beta_version}}\"\n```\n\nThis _GitHub Action_ is used in in\n\n- the [github.com/mozilla-mobile/fenix/blob/master/.github/workflows/sync-strings.yml](https://github.com/mozilla-mobile/fenix/blob/master/.github/workflows/sync-strings.yml) workflow\n- the [github.com/mozilla-mobile/focus-android/blob/master/.github/workflows/sync-strings.yml](https://github.com/mozilla-mobile/focus-android/blob/master/.github/workflows/sync-strings.yml) workflow.\n\n\n## Bump dependencies\n\nJust run the following command line. You may need to change the python version to follow what is in `Dockerfile`.\n\n```\ndocker run -t -v \"$PWD:/src\" -w /src python:3.10 bash -cx \"pip install pip-tools \u0026\u0026 cd /src/ \u0026\u0026 pip-compile --upgrade --generate-hashes --output-file requirements.txt requirements.in\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmozilla-mobile%2Ffenix-beta-version","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmozilla-mobile%2Ffenix-beta-version","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmozilla-mobile%2Ffenix-beta-version/lists"}