Thanks for contributing to webxdc! Maybe these GitHub Actions make your life a bit easier:
- release.yml runs
create-xdc.sh
on every tag of your repository, to build a.xdc
file and add it as a release to your repository. - release-python.yml does the same, but with your personal python build script.
Adding a Release Action is as easy as 3 clicks:
- Click on the "Actions" tab in your repository (if you already have other GitHub Actions, you explicitly need to click on "New Workflow" here)
- Scroll down to "By webxdc", click on the GitHub Action you want to include, e.g. "Create .xdc Release"
- Click on "Start commit" to commit it to your
main
branch
Now you only need to create a tag on the main
branch and a release is
created.
Both GitHub Actions create a GitHub Release on a git tag. Its description will be the commit message of the tagged commit. So it makes sense to make that commit message a bit beautiful, with nice markdown, emojis, and whatever else you need.
The example script for
release-python.yml
was the draw.xdc
build script. If you
use a different python build script, you may need to adjust the github action
before you commit it to your repository.