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

refactor: rewrite plugin for v2 #144

Closed
wants to merge 5 commits into from
Closed

Conversation

tcrawford-figure
Copy link
Contributor

This rewrite fixes many problems that are very apparent in v1.

Breaking changes:

  • Plugin id change from com.figure.gradle.semver-plugin to just com.figure.gradle.semver

Problems fixed include:

  • Inability to build without initializing git repository
  • Inability to build when merging, rebasing, reverting, bisecting, cherry-picking, and being in detached head state
  • Incorrect version calculation in some scenarios
  • Inability to set alternate initial version
  • Inability to build without an initial tag

Features added:

  • Support for stages
  • Support for specifying alternate development and main branch names
  • Smart branching strategy inference
  • Support for building with build metadata
  • Zero config support (in most cases, there's no need to do anything but apply the plugin)
  • Complete documentation to explain how to use the included and optional gradle properties

This rewrite fixes many problems that are very apparent in v1.

Problems fixed include:
- Inability to build without initializing git repository
- Inability to build when merging, rebasing, reverting, bisecting, cherry-picking, and being in detached head state
- Incorrect version calculation in some scenarios
- Inability to set alternate initial version
- Inability to build without an initial tag

Features added:
- Support for stages
- Support for specifying alternate development and main branch names
- Smart branching strategy inference
- Support for building with build metadata
- Zero config support (in most cases, there's no need to do anything but apply the plugin)
- Complete documentation to explain how to use the included and optional gradle properties
Copy link
Contributor

github-actions bot commented Sep 21, 2024

Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit bbc3b46.

♻️ This comment has been updated with latest results.

@tcrawford-figure tcrawford-figure deleted the tcrawford/v2-overhaul branch September 23, 2024 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant