Open edmondchuc opened 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.
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:package.json
orpyproject.toml
file with the value fromversion
and commit to the main branch of the repoAt 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.
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.