An opinionated way to create Julia packages with Semantic Release
Much Credit to Jaan Tollander de Balsch. I modified much of this from his work.
This uses julia 1.9.2
- Clone this repository.
- Instantiate the project (download the dependencies) by running
julia --project -e 'import Pkg; Pkg.instantiate()'
- Modify config.toml to match your preferences.
- Create an empty repository with the correct path on GitHub.
- Run the script with
julia --project -e 'include("setup.jl"); createpackage("config.toml")'
. This will populate that empty repo automatically. - Follow the instructions in the created README to finish setting the repo up.
That's it!
Make sure to familiarise yourself with Conventional Commits as these are how you'll trigger the release pipeline.