Skip to content

Commit

Permalink
build(release): bump patch version
Browse files Browse the repository at this point in the history
  • Loading branch information
qoomon committed Oct 24, 2022
1 parent a8fbfca commit f15aa3d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 15 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 6.3.4

##### Fixes
- Only register version task for the current project #97
- Fix version pattern matcher. Ensure that matching groups are available. #96


## 6.3.3

##### Fixes
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ This plugin can virtually set project version and properties, based on current *

```groovy
plugins {
id 'me.qoomon.git-versioning' version '6.3.3'
id 'me.qoomon.git-versioning' version '6.3.4'
}
version = '0.0.0-SNAPSHOT'
Expand All @@ -41,7 +41,7 @@ gitVersioning.apply {

```kotlin
plugins {
id("me.qoomon.git-versioning") version "6.3.3"
id("me.qoomon.git-versioning") version "6.3.4"
}

version = "0.0.0-SNAPSHOT"
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "com.github.ben-manes.versions" version "0.42.0"
id "com.github.ben-manes.versions" version "0.43.0"

id "java"
id "java-gradle-plugin"
Expand All @@ -12,7 +12,7 @@ plugins {
}

group 'me.qoomon'
version '6.4.0'
version '6.3.4'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@
import org.eclipse.jgit.lib.Repository;
import org.eclipse.jgit.revwalk.*;

import java.io.IOException;
import java.util.Comparator;
import java.util.Date;
import java.util.concurrent.Callable;

import static org.eclipse.jgit.lib.Constants.OBJ_TAG;

public class TagComparator implements Comparator<Ref> {

private final RevWalk revWalk;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,12 @@
public class GitVersioningPlugin implements Plugin<Project> {

/**
* for main logic see {@link GitVersioningPluginExtension#apply}
* for main logic see {@link GitVersioningPluginExtension#apply(GitVersioningPluginConfig)}
*/
public void apply(@Nonnull Project project) {

project.getExtensions().create("gitVersioning", GitVersioningPluginExtension.class, project);

// Only Register version task for current project so the plugin may be applied
// on
// sub projects. It would be nice to only define this once for all project in
// a multi-module project, however there are a few other considerations that
// need
// to be made and this current change will make this plugin more composable.
project.getTasks().register("version", VersionTask.class);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import me.qoomon.gradle.gitversioning.GitVersioningPluginConfig.RefPatchDescription;
import org.apache.commons.configuration2.PropertiesConfiguration;
import org.apache.commons.configuration2.ex.ConfigurationException;
import org.apache.commons.lang3.StringUtils;
import org.apache.maven.artifact.versioning.DefaultArtifactVersion;
import org.eclipse.jgit.lib.Repository;
import org.eclipse.jgit.storage.file.FileRepositoryBuilder;
Expand Down

0 comments on commit f15aa3d

Please sign in to comment.