Unverified Commit e0bdde25 authored by bmartel's avatar bmartel Committed by GitHub
Browse files

fix: OPTIC-489: Enable version.json creation whenever the corresponding FE source changes (#5535)

* fix: OPTIC-489: Enable version.json creation whenever the corresponding FE source changes

* enable versioning against only changed source, run it with sample output.

* ci: Build frontend

Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/8148704358

* enable postbuild

* use origin/develop

* use different arg syntax

* make the version.mjs generator available as a binary and update ci frontend-build.yml to directly use version:affected to ensure other yarn builds do not trigger this.

* fix action.yml

* fix action.yml

* let CI set the base branch

* let CI set the base branch

* ci: Build frontend

Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/8156783878

* only fetch develop in addition to the PR branch

* ci: Build frontend

Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/8156904605

* build version on change

* remove error and console reporting

* ci: Build frontend

Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/8177622887

* use rev-list and show to get latest affected commit info

* ci: Build frontend

Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/8178473301

* get the log info more accurately

* get the log info more accurately

* ci: Build frontend

Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/8178976383

* ci: Build frontend

Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/8179332128

* checking branch output of log info

* updating version script name

* ci: Build frontend

Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/8179543959

* removing unnecessary extra steps just for debug

* ci: Build frontend

Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/8179721910

* update the version.mjs script to be compatible and used within LSE as well

* ci: Build frontend

Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/8196310545

* Removing from docker build step as the committed file version.json is not the one we want, its the release time version.json that we require.

* ci: Build frontend

Workflow run: https://github.com/HumanSignal/label-studio/actions/runs/8196378391



---------

Co-authored-by: default avatarrobot-ci-heartex <robot-ci-heartex@users.noreply.github.com>
Co-authored-by: default avatarbmartel <bmartel@users.noreply.github.com>
parent b08b6237
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment