OpenML
OpenML copied to clipboard
Added release workflow
Fixes: #1243
This pull request introduces a new GitHub Actions workflow that automates the release process whenever a version tag is pushed. The workflow generates release notes, changelogs, and release archives, and publishes them as GitHub releases. This streamlines the release workflow and ensures consistency in release artifacts and documentation.
Release automation:
- Added
.github/workflows/release.ymlto automate GitHub releases on tag push, including generating release notes and changelogs, and uploading release artifacts. - The workflow detects semantic version tags, determines if the release is a pre-release, and creates a changelog comparing the previous tag to the current one.
Artifact creation and publishing:
- Generates a release archive (
tar.gz) excluding unnecessary files and uploads it along with the changelog to the GitHub release. - Publishes the release using the
softprops/action-gh-releaseaction, with support for pre-releases and custom release notes.
Hi @joaquinvanschoren , @janvanrijn please review when you get a chance - thanks