An example project for creating Github releases with artifacts.
-
Create a Github workflow that produces release assets in the dir
./dist
. -
Copy
github-release.sh
and run it as in the deploy-step of the example workflow. -
Trigger the workflow:
-
Pushing to a branch:
The script will create (or replace) a nightly release. -
Create a tag tag name in git and push it to Github:
The script will create the respective tag name release in Github. -
Creating a release in Github:
The script will reuse the release created in Github.
In all cases the script uploads the asset files to the release.
-