RDFLib / prez-ui

BSD 3-Clause "New" or "Revised" License
10 stars 7 forks source link

Update prez-ui version on release #128

Open edmondchuc opened 11 months ago

edmondchuc commented 11 months ago

This issue was copied from this issue in a private GitHub project board.

After looking into this and the existing solutions used in other public projects on GitHub, the best way forward is probably to trigger a GitHub Action that takes 1 input, version. The Action will then perform the following steps:

At this point, we can manually make a release using GitHub Releases as usual, generate the release notes and assign the release to the git tag that the Action just created.

See https://github.com/RDFLib/VocExcel/tree/master/.github/workflows for the proposed solution in action.

This will support the two primary ways we distribute Prez UI.

  1. Via a container image (container image is tagged with the version from the git tag at build time)
  2. As static build (version is added to package.json on pre-release step via GitHub Workflow trigger to create a git tag)

A follow-up to this task if all goes well is to align how we perform releases in the Prez API project. If we follow the same release process, we can ensure the pyproject.toml version is up to date on each release.

edmondchuc commented 11 months ago

This has been tagged with high priority as it's becoming increasingly hard to debug issues with clients using Prez and Prez UI. If we always know exactly which version they are running, it'll make the debugging issues much easier and less time consuming.