Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build and Release Setup #12

Merged
merged 8 commits into from
Aug 21, 2024
Merged

Build and Release Setup #12

merged 8 commits into from
Aug 21, 2024

Conversation

janniclas
Copy link
Contributor

This PR updates the project's build logic to use shared settings through the use of buildSrc.
In future all commonly used libraries (tests, logger, kotlin version), are defined in buildSrc through the convenient plugins.

Further, an auto versioning plugin was added. This plugin is used to increment the version based on conventional commits. On push to the main branch the plugin creates a new version tag on the main branch.
Additionally, I added a release workflow, which must be triggered manually to create a commit. The workflow takes a tag version as an input and creates a release for this tag.
The benefit of this approach is that we don't have to release every tag, but still have distinct tags (versions) for every merge on the main branch.

@janniclas janniclas requested a review from AnakinRaW August 21, 2024 13:08
@janniclas janniclas self-assigned this Aug 21, 2024
@janniclas janniclas merged commit 60600df into main Aug 21, 2024
@janniclas janniclas deleted the feature/versioning branch August 21, 2024 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant