Closed robin-schoch closed 2 months ago
@Zupeuc we need the a pypi token to run these github action. I do not have access to sgr pypi organisation. Is it possible for you to add this token to the github action secrets?
@robin-schoch What is your PyPi account? I will make you owner of the project.
This PR adds two workflows for automatic release of the sgr specification library and the SGrPython library.
Here's a revised version of the PR description:
This PR enables the maintainer to trigger the workflow in two ways: manually with a specific tag name from the specification repository, or automatically via a dedicated trigger pipeline within the specification repository itself.
The sgr specification library workflow can be manually initiated to build and release a Python package on PyPI, which includes the generated Python output. Additionally, this workflow updates the version numbers in both the
requirements.txt
andsetup.py
files. Following these updates, it automatically creates a pull request to merge these changes into the main branch.The second workflow runs for each tag matching this regex
v*
. This will release the SGrPython library with the provided semantic version in the tag name.TODOs:
This will close issue #28 #25
@Zupeuc Feedback would be appreciated and please add a pypi token to github action secrets.