Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Fix missing stage allocation logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Larusso committed May 27, 2020
1 parent 31579ca commit c3b2b92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ final class SemVerStrategy implements DefaultVersionStrategy {
*/
@Override
boolean defaultSelector(Project project, Grgit grgit) {
String stage = getPropertyOrNull(project, STAGE_PROP)
String stage = project.extensions.getByType(VersionPluginExtension).stage.getOrNull()
if (stage != null && !stages.contains(stage)) {
logger.info('Skipping {} default strategy because stage ({}) is not one of: {}', name, stage, stages)
return false
Expand Down

0 comments on commit c3b2b92

Please sign in to comment.