Giter Site home page Giter Site logo

jdtcc / fenix-beta-version Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mozilla-mobile/fenix-beta-version

0.0 0.0 0.0 43 KB

GitHub Action that discovers the current Fenix Beta version

License: Mozilla Public License 2.0

Python 93.92% Dockerfile 6.08%

fenix-beta-version's Introduction

extract-major-beta-version

This GitHub Action determines the current major Beta version.

To do this the GITHUB_REPOSITORY this is applied to has to:

  • have a release following the following naming scheme

    \d+.0.0-beta.\d+
    
  • have a file named version.txt in the project root containing the latest beta version name (following the same naming scheme as above).


It 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.

Example usage:

      - name: "Discover the last beta release major version"
        id: extract-major-beta-version
        uses: mozilla-mobile/[email protected]

      - name "Print the version number"
        run: "The current _major beta_ number is $${{steps.extract-major-beta-version.outputs.beta_version}}"

This GitHub Action is used in in

Bump dependencies

Just run the following command line. You may need to change the python version to follow what is in Dockerfile.

docker run -t -v "$PWD:/src" -w /src python:3.10 bash -cx "pip install pip-tools && cd /src/ && pip-compile --upgrade --generate-hashes --output-file requirements.txt requirements.in"

fenix-beta-version's People

Contributors

gabrielluong avatar johanlorenzo avatar mugurell avatar st3fan avatar escapewindow avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.