Exlll / ConfigLib

A Minecraft library for saving, loading, updating, and commenting YAML configuration files
MIT License
135 stars 17 forks source link

Publish to Github packages and automate releases #10

Closed Silthus closed 2 years ago

Silthus commented 4 years ago

@Exlll as discussed I integrated a fully automated release workflow based on semantic-release that publishes a new version each time a commit is pushed to master.

I created a Github workflows that automates all of those steps including the publishing of the release packages to Github packages. A third party repository is therefore no longer needed.

Important: The repo now includes node packages for the semantic-release process and validates the commit messages with a pre commit hook. I copied my Contributing docs that include a description on the format of the commit messages.

All commit message should conform to the conventional commit standard.

I also fixed the tests not running on Windows and included a switch that uses a different jimfs based on the test runner os.

Oh and they are some nice badges in the readme now :) To get a coverage report with codecov you can link your Github account there or if you don't want that, remove the badge and build instructions.

Silthus commented 4 years ago

I also added an @Ignore annotation that allows to completely filter fields.

See #11

Exlll commented 2 years ago

I'm closing this PR as it's not comptabile with the current version. I've added semi-automatic publishing (on workflow_dispatch) as I'd like to have more control over when changes are published. I'll most likely add support for semi-automatic releases, too, but first I need to test the Action on some other repo.