├── git-changelog-gradle-plugin-example ├── changelog_linkedIssue.partial ├── settings.gradle ├── CHANGELOG_1_1.md ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── CHANGELOG_commits.md ├── gradle.properties ├── CHANGELOG_1_0_1_1.md ├── CHANGELOG_1_0_1_1_repo_path.md ├── changelog.mustache ├── changelog.json ├── CHANGELOG_ignoreCommitsWithoutIssue.md ├── gradlew.bat ├── gradlew ├── CHANGELOG_ignoreCommitsOlderThan.md ├── CHANGELOG_mixed.md ├── build.gradle └── CHANGELOG_custom.md ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── git-changelog-gradle-plugin-example-kotlin ├── settings.gradle ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── build.gradle.kts ├── gradlew.bat └── gradlew ├── src └── main │ └── java │ └── se │ └── bjurr │ └── gitchangelog │ └── plugin │ └── gradle │ ├── GitChangelogPluginExtension.java │ ├── HelperParam.java │ ├── SetSemanticVersionParameters.java │ ├── GitChangelogSemanticVersionTask.java │ ├── CustomIssue.java │ ├── SortedProperties.java │ ├── GitChangelogGradlePlugin.java │ ├── SetSemanticVersion.java │ └── GitChangelogTask.java ├── .github └── workflows │ └── gradle-ci.yaml ├── settings.gradle ├── .gitignore ├── gradle.properties ├── gradlew.bat ├── README.md ├── gradlew ├── LICENSE └── CHANGELOG.md /git-changelog-gradle-plugin-example/changelog_linkedIssue.partial: -------------------------------------------------------------------------------- 1 | ### {{name}} [{{issue}}]({{link}}) {{title}} -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomasbjerre/git-changelog-gradle-plugin/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example/settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | mavenLocal() 4 | mavenCentral() 5 | gradlePluginPortal() 6 | } 7 | } -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example-kotlin/settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | mavenLocal() 4 | mavenCentral() 5 | gradlePluginPortal() 6 | } 7 | } -------------------------------------------------------------------------------- /src/main/java/se/bjurr/gitchangelog/plugin/gradle/GitChangelogPluginExtension.java: -------------------------------------------------------------------------------- 1 | package se.bjurr.gitchangelog.plugin.gradle; 2 | 3 | public class GitChangelogPluginExtension {} 4 | -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example/CHANGELOG_1_1.md: -------------------------------------------------------------------------------- 1 | 2 | 1b769037f653e5c 3 | 3568f412a65a16d 4 | 9b485f708e30054 5 | d5657ba4353bff4 6 | f9844f81593f3ff 7 | 60e0d7e7292969e 8 | a9bf29122e184a1 9 | -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomasbjerre/git-changelog-gradle-plugin/HEAD/git-changelog-gradle-plugin-example/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example-kotlin/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomasbjerre/git-changelog-gradle-plugin/HEAD/git-changelog-gradle-plugin-example-kotlin/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /.github/workflows/gradle-ci.yaml: -------------------------------------------------------------------------------- 1 | name: Bundle Gradle CI 2 | 3 | on: [workflow_dispatch, push, pull_request] 4 | 5 | jobs: 6 | call-workflow: 7 | uses: tomasbjerre/.github/.github/workflows/bundle-gradle-ci.yaml@master 8 | -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example/CHANGELOG_commits.md: -------------------------------------------------------------------------------- 1 | 2 | # Releasenotes in 1.1 3 | 4 | Releasenotes. 5 | 6 | ## No issue 7 | 3568f412a65a16d 8 | Adding plugin plugin 9 | 10 | 9b485f708e30054 11 | doc 12 | 13 | 14 | -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example/gradle.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Sun Sep 24 19:40:37 CEST 2023 3 | description=Gradle plugin for Git Changelog example 4 | version=1.81.3-SNAPSHOT 5 | group=se.bjurr.gitchangelog.example 6 | org.gradle.configuration-cache=true 7 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | mavenLocal() 4 | mavenCentral() 5 | gradlePluginPortal() 6 | } 7 | } 8 | 9 | plugins { 10 | id "se.bjurr.gradle.bundle-gradle-binaryplugin" version "1.+" apply false 11 | } 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | git-changelog-gradle-plugin-example/whatever/ 2 | .classpath 3 | .project 4 | .settings 5 | .idea 6 | generated-src 7 | build 8 | target 9 | bin 10 | temp 11 | .gradle 12 | .okhttpcache 13 | git-changelog-gradle-plugin-example-kotlin/*.md 14 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example-kotlin/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # 2 | #Fri Sep 19 17:37:49 CEST 2025 3 | description=Automate changelog and versioning with conventional commits and Git. 4 | group=se.bjurr.gitchangelog 5 | version=3.1.1 6 | implementationClass=se.bjurr.gitchangelog.plugin.gradle.GitChangelogGradlePlugin 7 | stripGradlePluginSuffix=false 8 | tags=git,changelog,releasenotes,patchnotes,conventional commits,semantic version,semantic release 9 | -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example/CHANGELOG_1_0_1_1.md: -------------------------------------------------------------------------------- 1 | 2 | # Releasenotes in 1.1 3 | 4 | Releasenotes. 5 | 6 | ## No issue 7 | 1b769037f653e5c 8 | [Gradle Release Plugin] - pre tag commit: '1.1'. 9 | 10 | 3568f412a65a16d 11 | Adding plugin plugin 12 | 13 | 9b485f708e30054 14 | doc 15 | 16 | d5657ba4353bff4 17 | [Gradle Release Plugin] - new version commit: '1.1-SNAPSHOT'. 18 | 19 | 20 | -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example/CHANGELOG_1_0_1_1_repo_path.md: -------------------------------------------------------------------------------- 1 | 2 | # Releasenotes in 1.1 3 | 4 | Releasenotes. 5 | 6 | ## No issue 7 | 1b769037f653e5c 8 | [Gradle Release Plugin] - pre tag commit: '1.1'. 9 | 10 | 3568f412a65a16d 11 | Adding plugin plugin 12 | 13 | 9b485f708e30054 14 | doc 15 | 16 | d5657ba4353bff4 17 | [Gradle Release Plugin] - new version commit: '1.1-SNAPSHOT'. 18 | 19 | 20 | -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example-kotlin/build.gradle.kts: -------------------------------------------------------------------------------- 1 | apply(plugin = "java-library") 2 | 3 | buildscript { 4 | repositories { 5 | mavenLocal() 6 | mavenCentral() 7 | } 8 | 9 | dependencies { 10 | classpath("se.bjurr.gitchangelog:git-changelog-gradle-plugin:latest-SNAPSHOT") 11 | } 12 | } 13 | 14 | apply(plugin = "se.bjurr.gitchangelog.git-changelog-gradle-plugin") 15 | 16 | tasks.register("generateGitChangelog") { 17 | fromRepo.set(file(".").toString()); 18 | file.set(file("CHANGELOG_generateGitChangelog.md")); 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/se/bjurr/gitchangelog/plugin/gradle/HelperParam.java: -------------------------------------------------------------------------------- 1 | package se.bjurr.gitchangelog.plugin.gradle; 2 | 3 | import com.github.jknack.handlebars.Helper; 4 | 5 | public class HelperParam { 6 | private final String name; 7 | private final Helper helper; 8 | 9 | public HelperParam(final String name, final Helper helper) { 10 | this.name = name; 11 | this.helper = helper; 12 | } 13 | 14 | public Helper getHelper() { 15 | return this.helper; 16 | } 17 | 18 | public String getName() { 19 | return this.name; 20 | } 21 | 22 | @Override 23 | public String toString() { 24 | return "HelperParam [name=" + this.name + ", helper=" + this.helper + "]"; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example/changelog.mustache: -------------------------------------------------------------------------------- 1 | # Git Changelog Gradle plugin 2 | 3 | Changelog of Git Changelog Gradle plugin. 4 | 5 | {{#tags}} 6 | ## {{name}} 7 | {{#issues}} 8 | {{#hasIssue}} 9 | {{#hasLink}} 10 | ### {{name}} [{{issue}}]({{link}}) {{title}} 11 | {{/hasLink}} 12 | {{^hasLink}} 13 | ### {{name}} {{issue}} {{title}} 14 | {{/hasLink}} 15 | {{/hasIssue}} 16 | {{^hasIssue}} 17 | ### {{name}} 18 | {{/hasIssue}} 19 | 20 | {{#commits}} 21 | **{{{messageTitle}}}** 22 | 23 | {{#messageBodyItems}} 24 | * {{.}} 25 | {{/messageBodyItems}} 26 | 27 | [{{hash}}](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/{{hash}}) {{authorName}} *{{commitTime}}* 28 | 29 | {{/commits}} 30 | 31 | {{/issues}} 32 | {{/tags}} 33 | -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example/changelog.json: -------------------------------------------------------------------------------- 1 | { 2 | "fromRepo": ".", 3 | "fromCommit": "0000000000000000000000000000000000000000", 4 | "toRef": "refs/heads/master", 5 | "ignoreCommitsIfMessageMatches": "^\\[maven-release-plugin\\].*|^\\[Gradle Release Plugin\\].*|^Merge.*", 6 | "readableTagName": "/([^/]+?)$", 7 | "dateFormat": "YYYY-MM-dd HH:mm:ss", 8 | "untaggedName": "Next release", 9 | "noIssueName": "Other changes", 10 | "timeZone": "UTC", 11 | "removeIssueFromMessage": "true", 12 | "jiraServer": "https://jiraserver/jira", 13 | "jiraIssuePattern": "\\b[a-zA-Z]([a-zA-Z]+)-([0-9]+)\\b", 14 | "gitHubApi": "https://api.github.com/repos/tomasbjerre/git-changelog-gradle-plugin", 15 | "gitHubIssuePattern": "#([0-9]+)", 16 | "customIssues": [ 17 | { 18 | "name": "Bugs", 19 | "pattern": "#bug" 20 | }, 21 | { 22 | "name": "Features", 23 | "pattern": "#feature" 24 | } 25 | ] 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/se/bjurr/gitchangelog/plugin/gradle/SetSemanticVersionParameters.java: -------------------------------------------------------------------------------- 1 | package se.bjurr.gitchangelog.plugin.gradle; 2 | 3 | import org.gradle.api.Project; 4 | 5 | /** */ 6 | public class SetSemanticVersionParameters { 7 | public Boolean suffixSnapshot = false; 8 | public Boolean suffixSnapshotIfNotTagged = true; 9 | public String majorVersionPattern; 10 | public String minorVersionPattern; 11 | public String patchVersionPattern; 12 | public String ignoreTagsIfNameMatches; 13 | public Project project; 14 | 15 | @Override 16 | public String toString() { 17 | return "SetSemanticVersionParameters [suffixSnapshot=" 18 | + this.suffixSnapshot 19 | + ", suffixSnapshotIfNotTagged=" 20 | + this.suffixSnapshotIfNotTagged 21 | + ", majorVersionPattern=" 22 | + this.majorVersionPattern 23 | + ", minorVersionPattern=" 24 | + this.minorVersionPattern 25 | + ", patchVersionPattern=" 26 | + this.patchVersionPattern 27 | + ", ignoreTagsIfNameMatches=" 28 | + this.ignoreTagsIfNameMatches 29 | + ", project=" 30 | + this.project 31 | + "]"; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/se/bjurr/gitchangelog/plugin/gradle/GitChangelogSemanticVersionTask.java: -------------------------------------------------------------------------------- 1 | package se.bjurr.gitchangelog.plugin.gradle; 2 | 3 | import org.gradle.api.DefaultTask; 4 | import org.gradle.api.provider.Property; 5 | import org.gradle.api.tasks.TaskAction; 6 | 7 | public class GitChangelogSemanticVersionTask extends DefaultTask { 8 | 9 | public Property suffixSnapshot = 10 | this.getProject().getObjects().property(Boolean.class).convention(false); 11 | public Property suffixSnapshotIfNotTagged = 12 | this.getProject().getObjects().property(Boolean.class).convention(true); 13 | public Property majorVersionPattern = 14 | this.getProject().getObjects().property(String.class).convention(""); 15 | public Property minorVersionPattern = 16 | this.getProject().getObjects().property(String.class).convention(""); 17 | public Property patchVersionPattern = 18 | this.getProject().getObjects().property(String.class).convention(""); 19 | public Property ignoreTagsIfNameMatches = 20 | this.getProject().getObjects().property(String.class).convention(""); 21 | 22 | @TaskAction 23 | public void gitChangelogPluginTasks() { 24 | final SetSemanticVersionParameters params = new SetSemanticVersionParameters(); 25 | params.suffixSnapshot = this.suffixSnapshot.get(); 26 | params.suffixSnapshotIfNotTagged = this.suffixSnapshotIfNotTagged.get(); 27 | params.majorVersionPattern = this.majorVersionPattern.get(); 28 | params.minorVersionPattern = this.minorVersionPattern.get(); 29 | params.patchVersionPattern = this.patchVersionPattern.get(); 30 | params.ignoreTagsIfNameMatches = this.ignoreTagsIfNameMatches.get(); 31 | params.project = this.getProject(); 32 | SetSemanticVersion.setVersion(params); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /src/main/java/se/bjurr/gitchangelog/plugin/gradle/CustomIssue.java: -------------------------------------------------------------------------------- 1 | package se.bjurr.gitchangelog.plugin.gradle; 2 | 3 | import java.util.Objects; 4 | 5 | public class CustomIssue { 6 | private String name; 7 | 8 | private String pattern; 9 | 10 | private String link; 11 | 12 | private String title; 13 | 14 | public CustomIssue() {} 15 | 16 | public String getName() { 17 | return this.name; 18 | } 19 | 20 | public CustomIssue setName(final String name) { 21 | this.name = name; 22 | return this; 23 | } 24 | 25 | public String getPattern() { 26 | return this.pattern; 27 | } 28 | 29 | public CustomIssue setPattern(final String pattern) { 30 | this.pattern = pattern; 31 | return this; 32 | } 33 | 34 | public String getLink() { 35 | return this.link; 36 | } 37 | 38 | public CustomIssue setLink(final String link) { 39 | this.link = link; 40 | return this; 41 | } 42 | 43 | public String getTitle() { 44 | return this.title; 45 | } 46 | 47 | public CustomIssue setTitle(final String title) { 48 | this.title = title; 49 | return this; 50 | } 51 | 52 | @Override 53 | public int hashCode() { 54 | return Objects.hash(this.link, this.name, this.pattern, this.title); 55 | } 56 | 57 | @Override 58 | public boolean equals(final Object obj) { 59 | if (this == obj) { 60 | return true; 61 | } 62 | if (obj == null) { 63 | return false; 64 | } 65 | if (this.getClass() != obj.getClass()) { 66 | return false; 67 | } 68 | final CustomIssue other = (CustomIssue) obj; 69 | return Objects.equals(this.link, other.link) 70 | && Objects.equals(this.name, other.name) 71 | && Objects.equals(this.pattern, other.pattern) 72 | && Objects.equals(this.title, other.title); 73 | } 74 | 75 | @Override 76 | public String toString() { 77 | return "CustomIssue [name=" 78 | + this.name 79 | + ", pattern=" 80 | + this.pattern 81 | + ", link=" 82 | + this.link 83 | + ", title=" 84 | + this.title 85 | + "]"; 86 | } 87 | } 88 | -------------------------------------------------------------------------------- /src/main/java/se/bjurr/gitchangelog/plugin/gradle/SortedProperties.java: -------------------------------------------------------------------------------- 1 | package se.bjurr.gitchangelog.plugin.gradle; 2 | 3 | import java.io.IOException; 4 | import java.io.OutputStream; 5 | import java.util.Collections; 6 | import java.util.Comparator; 7 | import java.util.Enumeration; 8 | import java.util.Map; 9 | import java.util.Properties; 10 | import java.util.Set; 11 | import java.util.TreeSet; 12 | 13 | /** https://stackoverflow.com/a/55957344/2477084 */ 14 | public class SortedProperties extends Properties { 15 | private static final long serialVersionUID = -4089258915252189905L; 16 | 17 | @Override 18 | public void store(final OutputStream out, final String comments) throws IOException { 19 | final Properties sortedProps = 20 | new Properties() { 21 | private static final long serialVersionUID = 2425274685932201267L; 22 | 23 | @Override 24 | public Set> entrySet() { 25 | /* 26 | * Using comparator to avoid the following exception on jdk >=9: 27 | * java.lang.ClassCastException: 28 | * java.base/java.util.concurrent.ConcurrentHashMap$MapEntry cannot be cast to 29 | * java.base/java.lang.Comparable 30 | */ 31 | final Set> sortedSet = 32 | new TreeSet<>( 33 | new Comparator>() { 34 | @Override 35 | public int compare( 36 | final Map.Entry o1, final Map.Entry o2) { 37 | return o1.getKey().toString().compareTo(o2.getKey().toString()); 38 | } 39 | }); 40 | sortedSet.addAll(super.entrySet()); 41 | return sortedSet; 42 | } 43 | 44 | @Override 45 | public Set keySet() { 46 | return new TreeSet(super.keySet()); 47 | } 48 | 49 | @Override 50 | public synchronized Enumeration keys() { 51 | return Collections.enumeration(new TreeSet(super.keySet())); 52 | } 53 | }; 54 | sortedProps.putAll(this); 55 | sortedProps.store(out, comments); 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example/CHANGELOG_ignoreCommitsWithoutIssue.md: -------------------------------------------------------------------------------- 1 | 2 | # Git Changelog 3 | 4 | Changelog of Git Changelog. 5 | 6 | ## 1.66 7 | ### Jira 8 | pretty printing output JENKINS-65252 *2021-03-29 15:48:00* 9 | 10 | 11 | 12 | ## 1.65 13 | ### GitHub 14 | Merge pull request #19 from ccrvincent/ccrvincent/updateReadme 15 | 16 | Update README to use Plugin DSL *2019-09-09 13:18:01* 17 | 18 | 19 | 20 | ## 1.64 21 | ### GitHub 22 | Merge pull request #17 from mdolinin/feature/provide-ability-to-override-repo-property-from-gradle 23 | 24 | Set fromRepo property only if provided and after read settings file. *2019-08-13 13:20:29* 25 | 26 | 27 | 28 | ## 1.55 29 | ### Jira 30 | Closing RevWalk JENKINS-19994 *2017-12-30 20:38:52* 31 | 32 | 33 | 34 | ## 1.48 35 | ### GitHub 36 | Ignore commits older than #9 *2017-07-08 06:06:26* 37 | 38 | 39 | 40 | ## 1.47 41 | ### GitHub 42 | Better handling of relative paths #7 *2017-05-22 16:16:38* 43 | 44 | 45 | 46 | ## 1.46 47 | ### GitHub 48 | Using file(..) instead of new File(..) in examples #7 *2017-05-20 14:14:53* 49 | 50 | 51 | ### GitHub 52 | Adding fromRepo attribute #8 *2017-05-20 14:43:23* 53 | 54 | 55 | 56 | ## 1.30 57 | ### Jira 58 | JENKINS-34155 Support short SHA *2016-04-12 16:56:23* 59 | 60 | 61 | 62 | ## 1.22 63 | ### GitHub 64 | Support GitHub OAuth2 token #4 *2016-03-15 20:56:29* 65 | 66 | 67 | 68 | ## 1.16 69 | ### GitHub 70 | Added variables: messageTitle, messageBody, messageItems #5 *2016-02-09 19:33:06* 71 | 72 | 73 | 74 | ## 1.13 75 | ### Incident 76 | Implementing custom issues 77 | * Adding example with 78 | * QC matching QC1234 79 | * Incident matching INC1234 *2016-01-31 18:25:09* 80 | 81 | 82 | 83 | ## 1.12 84 | ### GitHub 85 | Storing settings on each task #3 86 | 87 | * Also using lib 1.23 *2016-01-31 12:14:15* 88 | 89 | 90 | 91 | ## 1.10 92 | ### GitHub 93 | Using lib 1.17 #1 *2015-12-06 07:40:52* 94 | 95 | 96 | 97 | ## 1.9 98 | ### GitHub 99 | Using lib 1.15 #1 *2015-12-04 22:17:54* 100 | 101 | 102 | 103 | ## 1.7 104 | ### GitHub 105 | using lib 1.13 #1 *2015-11-23 22:09:40* 106 | 107 | 108 | 109 | ## 1.6 110 | ### GitHub 111 | Using lib 1.12 #1 *2015-11-23 18:11:30* 112 | 113 | 114 | 115 | ## 1.2 116 | ### Jira 117 | Changing release instructions. 118 | 119 | * There is currently a bug in Gradle release plugin plugin that requires the keys to be passed as parameters instead of gradle.properties. GRADLE-3281 *2015-11-16 17:33:57* 120 | 121 | 122 | 123 | -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @rem 2 | @rem Copyright 2015 the original author or authors. 3 | @rem 4 | @rem Licensed under the Apache License, Version 2.0 (the "License"); 5 | @rem you may not use this file except in compliance with the License. 6 | @rem You may obtain a copy of the License at 7 | @rem 8 | @rem https://www.apache.org/licenses/LICENSE-2.0 9 | @rem 10 | @rem Unless required by applicable law or agreed to in writing, software 11 | @rem distributed under the License is distributed on an "AS IS" BASIS, 12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | @rem See the License for the specific language governing permissions and 14 | @rem limitations under the License. 15 | @rem 16 | @rem SPDX-License-Identifier: Apache-2.0 17 | @rem 18 | 19 | @if "%DEBUG%"=="" @echo off 20 | @rem ########################################################################## 21 | @rem 22 | @rem Gradle startup script for Windows 23 | @rem 24 | @rem ########################################################################## 25 | 26 | @rem Set local scope for the variables with windows NT shell 27 | if "%OS%"=="Windows_NT" setlocal 28 | 29 | set DIRNAME=%~dp0 30 | if "%DIRNAME%"=="" set DIRNAME=. 31 | @rem This is normally unused 32 | set APP_BASE_NAME=%~n0 33 | set APP_HOME=%DIRNAME% 34 | 35 | @rem Resolve any "." and ".." in APP_HOME to make it shorter. 36 | for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi 37 | 38 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 39 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" 40 | 41 | @rem Find java.exe 42 | if defined JAVA_HOME goto findJavaFromJavaHome 43 | 44 | set JAVA_EXE=java.exe 45 | %JAVA_EXE% -version >NUL 2>&1 46 | if %ERRORLEVEL% equ 0 goto execute 47 | 48 | echo. 1>&2 49 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 50 | echo. 1>&2 51 | echo Please set the JAVA_HOME variable in your environment to match the 1>&2 52 | echo location of your Java installation. 1>&2 53 | 54 | goto fail 55 | 56 | :findJavaFromJavaHome 57 | set JAVA_HOME=%JAVA_HOME:"=% 58 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 59 | 60 | if exist "%JAVA_EXE%" goto execute 61 | 62 | echo. 1>&2 63 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 64 | echo. 1>&2 65 | echo Please set the JAVA_HOME variable in your environment to match the 1>&2 66 | echo location of your Java installation. 1>&2 67 | 68 | goto fail 69 | 70 | :execute 71 | @rem Setup the command line 72 | 73 | 74 | 75 | @rem Execute Gradle 76 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* 77 | 78 | :end 79 | @rem End local scope for the variables with windows NT shell 80 | if %ERRORLEVEL% equ 0 goto mainEnd 81 | 82 | :fail 83 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 84 | rem the _cmd.exe /c_ return code! 85 | set EXIT_CODE=%ERRORLEVEL% 86 | if %EXIT_CODE% equ 0 set EXIT_CODE=1 87 | if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% 88 | exit /b %EXIT_CODE% 89 | 90 | :mainEnd 91 | if "%OS%"=="Windows_NT" endlocal 92 | 93 | :omega 94 | -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example/gradlew.bat: -------------------------------------------------------------------------------- 1 | @rem 2 | @rem Copyright 2015 the original author or authors. 3 | @rem 4 | @rem Licensed under the Apache License, Version 2.0 (the "License"); 5 | @rem you may not use this file except in compliance with the License. 6 | @rem You may obtain a copy of the License at 7 | @rem 8 | @rem https://www.apache.org/licenses/LICENSE-2.0 9 | @rem 10 | @rem Unless required by applicable law or agreed to in writing, software 11 | @rem distributed under the License is distributed on an "AS IS" BASIS, 12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | @rem See the License for the specific language governing permissions and 14 | @rem limitations under the License. 15 | @rem 16 | 17 | @if "%DEBUG%"=="" @echo off 18 | @rem ########################################################################## 19 | @rem 20 | @rem Gradle startup script for Windows 21 | @rem 22 | @rem ########################################################################## 23 | 24 | @rem Set local scope for the variables with windows NT shell 25 | if "%OS%"=="Windows_NT" setlocal 26 | 27 | set DIRNAME=%~dp0 28 | if "%DIRNAME%"=="" set DIRNAME=. 29 | @rem This is normally unused 30 | set APP_BASE_NAME=%~n0 31 | set APP_HOME=%DIRNAME% 32 | 33 | @rem Resolve any "." and ".." in APP_HOME to make it shorter. 34 | for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi 35 | 36 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 37 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" 38 | 39 | @rem Find java.exe 40 | if defined JAVA_HOME goto findJavaFromJavaHome 41 | 42 | set JAVA_EXE=java.exe 43 | %JAVA_EXE% -version >NUL 2>&1 44 | if %ERRORLEVEL% equ 0 goto execute 45 | 46 | echo. 1>&2 47 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 48 | echo. 1>&2 49 | echo Please set the JAVA_HOME variable in your environment to match the 1>&2 50 | echo location of your Java installation. 1>&2 51 | 52 | goto fail 53 | 54 | :findJavaFromJavaHome 55 | set JAVA_HOME=%JAVA_HOME:"=% 56 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 57 | 58 | if exist "%JAVA_EXE%" goto execute 59 | 60 | echo. 1>&2 61 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 62 | echo. 1>&2 63 | echo Please set the JAVA_HOME variable in your environment to match the 1>&2 64 | echo location of your Java installation. 1>&2 65 | 66 | goto fail 67 | 68 | :execute 69 | @rem Setup the command line 70 | 71 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 72 | 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if %ERRORLEVEL% equ 0 goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | set EXIT_CODE=%ERRORLEVEL% 85 | if %EXIT_CODE% equ 0 set EXIT_CODE=1 86 | if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% 87 | exit /b %EXIT_CODE% 88 | 89 | :mainEnd 90 | if "%OS%"=="Windows_NT" endlocal 91 | 92 | :omega 93 | -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example-kotlin/gradlew.bat: -------------------------------------------------------------------------------- 1 | @rem 2 | @rem Copyright 2015 the original author or authors. 3 | @rem 4 | @rem Licensed under the Apache License, Version 2.0 (the "License"); 5 | @rem you may not use this file except in compliance with the License. 6 | @rem You may obtain a copy of the License at 7 | @rem 8 | @rem https://www.apache.org/licenses/LICENSE-2.0 9 | @rem 10 | @rem Unless required by applicable law or agreed to in writing, software 11 | @rem distributed under the License is distributed on an "AS IS" BASIS, 12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | @rem See the License for the specific language governing permissions and 14 | @rem limitations under the License. 15 | @rem 16 | 17 | @if "%DEBUG%"=="" @echo off 18 | @rem ########################################################################## 19 | @rem 20 | @rem Gradle startup script for Windows 21 | @rem 22 | @rem ########################################################################## 23 | 24 | @rem Set local scope for the variables with windows NT shell 25 | if "%OS%"=="Windows_NT" setlocal 26 | 27 | set DIRNAME=%~dp0 28 | if "%DIRNAME%"=="" set DIRNAME=. 29 | @rem This is normally unused 30 | set APP_BASE_NAME=%~n0 31 | set APP_HOME=%DIRNAME% 32 | 33 | @rem Resolve any "." and ".." in APP_HOME to make it shorter. 34 | for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi 35 | 36 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 37 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" 38 | 39 | @rem Find java.exe 40 | if defined JAVA_HOME goto findJavaFromJavaHome 41 | 42 | set JAVA_EXE=java.exe 43 | %JAVA_EXE% -version >NUL 2>&1 44 | if %ERRORLEVEL% equ 0 goto execute 45 | 46 | echo. 1>&2 47 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 48 | echo. 1>&2 49 | echo Please set the JAVA_HOME variable in your environment to match the 1>&2 50 | echo location of your Java installation. 1>&2 51 | 52 | goto fail 53 | 54 | :findJavaFromJavaHome 55 | set JAVA_HOME=%JAVA_HOME:"=% 56 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 57 | 58 | if exist "%JAVA_EXE%" goto execute 59 | 60 | echo. 1>&2 61 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 62 | echo. 1>&2 63 | echo Please set the JAVA_HOME variable in your environment to match the 1>&2 64 | echo location of your Java installation. 1>&2 65 | 66 | goto fail 67 | 68 | :execute 69 | @rem Setup the command line 70 | 71 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 72 | 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if %ERRORLEVEL% equ 0 goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | set EXIT_CODE=%ERRORLEVEL% 85 | if %EXIT_CODE% equ 0 set EXIT_CODE=1 86 | if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% 87 | exit /b %EXIT_CODE% 88 | 89 | :mainEnd 90 | if "%OS%"=="Windows_NT" endlocal 91 | 92 | :omega 93 | -------------------------------------------------------------------------------- /src/main/java/se/bjurr/gitchangelog/plugin/gradle/GitChangelogGradlePlugin.java: -------------------------------------------------------------------------------- 1 | package se.bjurr.gitchangelog.plugin.gradle; 2 | 3 | import org.gradle.api.Plugin; 4 | import org.gradle.api.Project; 5 | import org.gradle.api.invocation.Gradle; 6 | 7 | public class GitChangelogGradlePlugin implements Plugin { 8 | 9 | @Override 10 | public void apply(final Project target) { 11 | final String setVersionConventional = this.getOrElse(target, "setVersionConventional", "false"); 12 | if (setVersionConventional != null && setVersionConventional.equals("true")) { 13 | SetSemanticVersion.setVersion( 14 | this.getSemanticVersionParamsFromProperties(target.getProject())); 15 | } 16 | 17 | target.getExtensions().create("gitChangelogPlugin", GitChangelogPluginExtension.class); 18 | 19 | target 20 | .getTasks() 21 | .register( 22 | "gitChangelogSemanticVersion", 23 | GitChangelogSemanticVersionTask.class, 24 | task -> { 25 | task.setDescription("Set version in gradle.properties from conventional commits."); 26 | task.setGroup("Git Changelog"); 27 | }); 28 | 29 | target 30 | .getTasks() 31 | .register( 32 | "gitChangelog", 33 | GitChangelogTask.class, 34 | task -> { 35 | task.setDescription("Update CHANGELOG.md using conventional commits."); 36 | task.setGroup("Git Changelog"); 37 | task.ignoreCommitsIfMessageMatches.set( 38 | "^\\[maven-release-plugin\\].*|^\\[Gradle Release Plugin\\].*|^Merge.*|.*\\[GRADLE SCRIPT\\].*"); 39 | }); 40 | } 41 | 42 | private SetSemanticVersionParameters getSemanticVersionParamsFromProperties( 43 | final Project project) { 44 | 45 | final SetSemanticVersionParameters params = new SetSemanticVersionParameters(); 46 | params.suffixSnapshot = this.getOrElse(project, "suffixSnapshot", false); 47 | params.suffixSnapshotIfNotTagged = this.getOrElse(project, "suffixSnapshotIfNotTagged", true); 48 | params.majorVersionPattern = this.getOrElse(project, "majorVersionPattern", null); 49 | params.minorVersionPattern = this.getOrElse(project, "minorVersionPattern", null); 50 | params.patchVersionPattern = this.getOrElse(project, "patchVersionPattern", null); 51 | params.ignoreTagsIfNameMatches = this.getOrElse(project, "ignoreTagsIfNameMatches", null); 52 | params.project = project; 53 | return params; 54 | } 55 | 56 | private String getOrElse(final Project project, final String key, final String defaul) { 57 | final Gradle gradle = project.getRootProject().getGradle(); 58 | Object valueOpt = gradle.getExtensions().getExtraProperties().getProperties().get(key); 59 | project.getLogger().info("Got '" + valueOpt + "' from extraProperties key '" + key + "'"); 60 | if (valueOpt == null) { 61 | valueOpt = project.getProperties().get(key); 62 | project.getLogger().info("Got '" + valueOpt + "' from properties key '" + key + "'"); 63 | } 64 | if (valueOpt == null) { 65 | project.getLogger().info("Using default '" + defaul + "' for key '" + key + "'"); 66 | return defaul; 67 | } 68 | project.getLogger().info("Using '" + valueOpt + "' for key '" + key + "'"); 69 | return valueOpt.toString(); 70 | } 71 | 72 | private Boolean getOrElse(final Project project, final String key, final boolean defaul) { 73 | final String value = this.getOrElse(project, key, Boolean.toString(defaul)); 74 | return Boolean.valueOf(value); 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /src/main/java/se/bjurr/gitchangelog/plugin/gradle/SetSemanticVersion.java: -------------------------------------------------------------------------------- 1 | package se.bjurr.gitchangelog.plugin.gradle; 2 | 3 | import static se.bjurr.gitchangelog.api.GitChangelogApi.gitChangelogApiBuilder; 4 | 5 | import java.io.File; 6 | import java.io.InputStream; 7 | import java.io.OutputStream; 8 | import java.nio.file.Files; 9 | import se.bjurr.gitchangelog.api.GitChangelogApi; 10 | import se.bjurr.gitchangelog.internal.semantic.SemanticVersion; 11 | 12 | public class SetSemanticVersion { 13 | 14 | public static void setVersion(final SetSemanticVersionParameters params) { 15 | try { 16 | final GitChangelogApi gitChangelogApiBuilder = gitChangelogApiBuilder(); 17 | gitChangelogApiBuilder.withFromRepo(params.project.getRootDir()); 18 | if (isSupplied(params.majorVersionPattern)) { 19 | gitChangelogApiBuilder.withSemanticMajorVersionPattern(params.majorVersionPattern); 20 | } 21 | if (isSupplied(params.minorVersionPattern)) { 22 | gitChangelogApiBuilder.withSemanticMinorVersionPattern(params.minorVersionPattern); 23 | } 24 | if (isSupplied(params.patchVersionPattern)) { 25 | gitChangelogApiBuilder.withSemanticPatchVersionPattern(params.patchVersionPattern); 26 | } 27 | if (isSupplied(params.ignoreTagsIfNameMatches)) { 28 | gitChangelogApiBuilder.withIgnoreTagsIfNameMatches(params.ignoreTagsIfNameMatches); 29 | } 30 | 31 | final SemanticVersion nextSemanticVersion = 32 | gitChangelogApiBuilder.getCurrentSemanticVersion(); 33 | final boolean notTagged = nextSemanticVersion.findTag().isEmpty(); 34 | final boolean suffixWithSnapshot = 35 | isSuppliedAndTrue(params.suffixSnapshot) 36 | || isSuppliedAndTrue(params.suffixSnapshotIfNotTagged) && notTagged; 37 | final String nextVersion = 38 | suffixWithSnapshot 39 | ? nextSemanticVersion.getVersion() + "-SNAPSHOT" 40 | : nextSemanticVersion.getVersion(); 41 | 42 | // Update properties file 43 | final File propertyFile = params.project.getRootProject().file("gradle.properties"); 44 | final SortedProperties gradleProps = new SortedProperties(); 45 | try (InputStream is = Files.newInputStream(propertyFile.toPath())) { 46 | gradleProps.load(is); 47 | } 48 | final String currentVersion = gradleProps.getProperty("version"); 49 | if (nextVersion.equals(currentVersion)) { 50 | params 51 | .project 52 | .getLogger() 53 | .info("Leaving semantic version " + currentVersion + " unchanged."); 54 | } else { 55 | params 56 | .project 57 | .getLogger() 58 | .lifecycle( 59 | "Setting semantic version to " 60 | + nextVersion 61 | + " (was " 62 | + currentVersion 63 | + "). Storing in " 64 | + propertyFile); 65 | gradleProps.setProperty("version", nextVersion); 66 | try (OutputStream os = Files.newOutputStream(propertyFile.toPath())) { 67 | gradleProps.store(os, ""); 68 | } 69 | params.project.setVersion(nextVersion); 70 | params 71 | .project 72 | .getAllprojects() 73 | .forEach( 74 | (p) -> { 75 | p.setVersion(nextVersion); 76 | }); 77 | } 78 | } catch (final Exception e) { 79 | params.project.getLogger().error("GitChangelogVersion", e); 80 | } 81 | } 82 | 83 | public static boolean isSuppliedAndTrue(final Boolean param) { 84 | return param != null && param; 85 | } 86 | 87 | public static boolean isSupplied(final String param) { 88 | return param != null && !param.isEmpty(); 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Git Changelog Gradle Plugin 2 | 3 | This is a Gradle plugin for [Git Changelog Lib](https://github.com/tomasbjerre/git-changelog-lib). 4 | 5 | Published to [plugins.gradle.org](https://plugins.gradle.org/plugin/se.bjurr.gitchangelog.git-changelog-gradle-plugin). 6 | 7 | | Version | Java Version | 8 | | ------------------------ | ------------ | 9 | | version < 2.0.0 | 8 | 10 | | 2.0.0 <= version < 2.2.0 | 11 | 11 | | 2.2.0 <= version | 17 | 12 | 13 | ## Usage 14 | 15 | There is a complete running example [here](/git-changelog-gradle-plugin-example) and also with Kotlin DSL [here](/git-changelog-gradle-plugin-example-kotlin). 16 | 17 | There are some more examples in the [build.gradle](https://github.com/tomasbjerre/git-changelog-gradle-plugin/blob/master/git-changelog-gradle-plugin-example/build.gradle). 18 | 19 | More documentation can be found in the [Git Changelog Lib](https://github.com/tomasbjerre/git-changelog-lib). 20 | 21 | It will use `HEAD` branch by default, you can change that with something like `toRevision = "main"`. 22 | 23 | ### Default tasks 24 | 25 | These tasks are configured when plugin is applied, no further configuration needed to use them. 26 | 27 | - `gitChangelogSemanticVersion` - Will set version in `gradle.properties` from [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/). 28 | - `gitChangelog` - Will update `CHANGELOG.md` using [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/). 29 | 30 | You can also set the property `setVersionConventional=true` that will trigger the `project.version` to be updated. The `gitChangelogSemanticVersion` will update the version to late if you are also publishing in the same invocation. Triggering the versioning with the property will set the version earlier so that it is correct in the publications. The properties that can be set are: 31 | 32 | ```properties 33 | # Needs to be set 34 | setVersionConventional=true 35 | 36 | # These can also be set, but they have defaults 37 | suffixSnapshot=... 38 | suffixSnapshotIfNotTagged=... 39 | majorVersionPattern=... 40 | minorVersionPattern=... 41 | patchVersionPattern=... 42 | ignoreTagsIfNameMatches=... 43 | ``` 44 | 45 | ### `build.gradle` 46 | 47 | ```groovy 48 | plugin { 49 | id 'se.bjurr.gitchangelog.git-changelog-gradle-plugin' version 'X' 50 | } 51 | 52 | // Optional config if you want to configure the changelog 53 | task gitChangelogTask(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) { 54 | templateContent.set(""" 55 | // Template here! 56 | """); 57 | } 58 | 59 | // Optional config if you want to configure versioning 60 | task gitChangelogVersionTask(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogSemanticVersionTask) { 61 | suffixSnapshot.set(true); 62 | majorVersionPattern.set("^[Bb]reaking") 63 | minorVersionPattern.set("[Ff]eature") 64 | patchVersionPattern.set("[Ff]ix") 65 | } 66 | ``` 67 | 68 | ### Template - Simple 69 | 70 | ```hbs 71 | Changelog of ${projectDisplayName}. 72 | 73 | {{#tags}} 74 | ## {{name}} 75 | {{#issues}} 76 | {{#hasIssue}} 77 | {{#hasLink}} 78 | ### {{name}} [{{issue}}]({{link}}) {{title}} {{#hasIssueType}} *{{issueType}}* {{/hasIssueType}} {{#hasLabels}} {{#labels}} *{{.}}* {{/labels}} {{/hasLabels}} 79 | {{/hasLink}} 80 | {{^hasLink}} 81 | ### {{name}} {{issue}} {{title}} {{#hasIssueType}} *{{issueType}}* {{/hasIssueType}} {{#hasLabels}} {{#labels}} *{{.}}* {{/labels}} {{/hasLabels}} 82 | {{/hasLink}} 83 | {{/hasIssue}} 84 | {{^hasIssue}} 85 | ### {{name}} 86 | {{/hasIssue}} 87 | 88 | {{#commits}} 89 | **{{{messageTitle}}}** 90 | 91 | {{#messageBodyItems}} 92 | * {{.}} 93 | {{/messageBodyItems}} 94 | 95 | [{{hash}}](https://github.com/{{ownerName}}/{{repoName}}/commit/{{hash}}) {{authorName}} *{{commitTime}}* 96 | 97 | {{/commits}} 98 | 99 | {{/issues}} 100 | {{/tags}} 101 | ``` 102 | 103 | ### Template - Semantic versioning from conventional commits 104 | 105 | If you are using [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/): 106 | 107 | ```shell 108 | [optional scope]: 109 | 110 | [optional body] 111 | 112 | [optional footer(s)] 113 | ``` 114 | 115 | A changelog can be rendered (using [Helpers](https://github.com/tomasbjerre/git-changelog-lib#Helpers)) like this: 116 | 117 | ```hbs 118 | # Changelog 119 | 120 | {{#tags}} 121 | {{#ifReleaseTag .}} 122 | ## [{{name}}](https://gitlab.com/html-validate/html-validate/compare/{{name}}) ({{tagDate .}}) 123 | 124 | {{#ifContainsType commits type='feat'}} 125 | ### Features 126 | 127 | {{#commits}} 128 | {{#ifCommitType . type='feat'}} 129 | - {{#eachCommitScope .}} **{{.}}** {{/eachCommitScope}} {{{commitDescription .}}} ([{{hash}}](https://gitlab.com/html-validate/html-validate/commit/{{hashFull}})) 130 | {{/ifCommitType}} 131 | {{/commits}} 132 | {{/ifContainsType}} 133 | 134 | {{#ifContainsType commits type='fix'}} 135 | ### Bug Fixes 136 | 137 | {{#commits}} 138 | {{#ifCommitType . type='fix'}} 139 | - {{#eachCommitScope .}} **{{.}}** {{/eachCommitScope}} {{{commitDescription .}}} ([{{hash}}](https://gitlab.com/html-validate/html-validate/commit/{{hashFull}})) 140 | {{/ifCommitType}} 141 | {{/commits}} 142 | {{/ifContainsType}} 143 | 144 | {{/ifReleaseTag}} 145 | {{/tags}} 146 | ``` 147 | 148 | ### Example - custom helpers 149 | 150 | You can add your own helpers and use them in the template. There are also [built in Helpers](https://github.com/tomasbjerre/git-changelog-lib#Helpers). 151 | 152 | ```groovy 153 | apply plugin: "se.bjurr.gitchangelog.git-changelog-gradle-plugin" 154 | 155 | import se.bjurr.gitchangelog.plugin.gradle.HelperParam; 156 | import com.github.jknack.handlebars.Helper; 157 | import com.github.jknack.handlebars.Options; 158 | 159 | task gitChangelogTask(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) { 160 | file.set(new File("CHANGELOG.md")); 161 | handlebarsHelpers.set([ 162 | new HelperParam("startsWith", new Helper() { 163 | public Object apply(String from, Options options) throws IOException { 164 | def s = options.hash['s'] 165 | if (from.matches("^" + s + ".*")) { 166 | return options.fn(this); 167 | } else { 168 | return options.inverse(this); 169 | } 170 | } 171 | }), 172 | new HelperParam("firstLetters", new Helper() { 173 | public Object apply(String from, Options options) throws IOException { 174 | def number = new Integer(options.hash['number']) 175 | return from.substring(0,number); 176 | } 177 | }) 178 | ]) 179 | templateContent.set(""" 180 | {{#commits}} 181 | {{#startsWith messageTitle s='feat'}} 182 | Starts with feat: "{{messageTitle}}" 183 | first 10 letters of hash is: {{firstLetters hash number='10'}} 184 | {{/startsWith}} 185 | {{/commits}} 186 | """); 187 | } 188 | ``` 189 | 190 | ### Get next release 191 | 192 | It can also be used to get the next semantic version based on commits. 193 | 194 | ```groovy 195 | buildscript { 196 | repositories { 197 | mavenCentral() 198 | mavenLocal() 199 | } 200 | dependencies { 201 | classpath 'se.bjurr.gitchangelog:git-changelog-lib:1.+' 202 | } 203 | } 204 | 205 | def nextVersion = se.bjurr.gitchangelog.api.GitChangelogApi.gitChangelogApiBuilder() 206 | .withSemanticMajorVersionPattern("^[Bb]reaking") 207 | .withSemanticMinorVersionPattern("[Ff]eature") 208 | .getNextSemanticVersion(); 209 | 210 | println "Next version:" + nextVersion.toString(); 211 | println " Major:" + nextVersion.getMajor(); 212 | println " Minor:" + nextVersion.getMinor(); 213 | println " Patch:" + nextVersion.getPatch(); 214 | ``` 215 | -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # 4 | # Copyright © 2015 the original authors. 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # https://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | # 18 | # SPDX-License-Identifier: Apache-2.0 19 | # 20 | 21 | ############################################################################## 22 | # 23 | # Gradle start up script for POSIX generated by Gradle. 24 | # 25 | # Important for running: 26 | # 27 | # (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is 28 | # noncompliant, but you have some other compliant shell such as ksh or 29 | # bash, then to run this script, type that shell name before the whole 30 | # command line, like: 31 | # 32 | # ksh Gradle 33 | # 34 | # Busybox and similar reduced shells will NOT work, because this script 35 | # requires all of these POSIX shell features: 36 | # * functions; 37 | # * expansions «$var», «${var}», «${var:-default}», «${var+SET}», 38 | # «${var#prefix}», «${var%suffix}», and «$( cmd )»; 39 | # * compound commands having a testable exit status, especially «case»; 40 | # * various built-in commands including «command», «set», and «ulimit». 41 | # 42 | # Important for patching: 43 | # 44 | # (2) This script targets any POSIX shell, so it avoids extensions provided 45 | # by Bash, Ksh, etc; in particular arrays are avoided. 46 | # 47 | # The "traditional" practice of packing multiple parameters into a 48 | # space-separated string is a well documented source of bugs and security 49 | # problems, so this is (mostly) avoided, by progressively accumulating 50 | # options in "$@", and eventually passing that to Java. 51 | # 52 | # Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, 53 | # and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; 54 | # see the in-line comments for details. 55 | # 56 | # There are tweaks for specific operating systems such as AIX, CygWin, 57 | # Darwin, MinGW, and NonStop. 58 | # 59 | # (3) This script is generated from the Groovy template 60 | # https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt 61 | # within the Gradle project. 62 | # 63 | # You can find Gradle at https://github.com/gradle/gradle/. 64 | # 65 | ############################################################################## 66 | 67 | # Attempt to set APP_HOME 68 | 69 | # Resolve links: $0 may be a link 70 | app_path=$0 71 | 72 | # Need this for daisy-chained symlinks. 73 | while 74 | APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path 75 | [ -h "$app_path" ] 76 | do 77 | ls=$( ls -ld "$app_path" ) 78 | link=${ls#*' -> '} 79 | case $link in #( 80 | /*) app_path=$link ;; #( 81 | *) app_path=$APP_HOME$link ;; 82 | esac 83 | done 84 | 85 | # This is normally unused 86 | # shellcheck disable=SC2034 87 | APP_BASE_NAME=${0##*/} 88 | # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) 89 | APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit 90 | 91 | # Use the maximum available, or set MAX_FD != -1 to use that value. 92 | MAX_FD=maximum 93 | 94 | warn () { 95 | echo "$*" 96 | } >&2 97 | 98 | die () { 99 | echo 100 | echo "$*" 101 | echo 102 | exit 1 103 | } >&2 104 | 105 | # OS specific support (must be 'true' or 'false'). 106 | cygwin=false 107 | msys=false 108 | darwin=false 109 | nonstop=false 110 | case "$( uname )" in #( 111 | CYGWIN* ) cygwin=true ;; #( 112 | Darwin* ) darwin=true ;; #( 113 | MSYS* | MINGW* ) msys=true ;; #( 114 | NONSTOP* ) nonstop=true ;; 115 | esac 116 | 117 | 118 | 119 | # Determine the Java command to use to start the JVM. 120 | if [ -n "$JAVA_HOME" ] ; then 121 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 122 | # IBM's JDK on AIX uses strange locations for the executables 123 | JAVACMD=$JAVA_HOME/jre/sh/java 124 | else 125 | JAVACMD=$JAVA_HOME/bin/java 126 | fi 127 | if [ ! -x "$JAVACMD" ] ; then 128 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 129 | 130 | Please set the JAVA_HOME variable in your environment to match the 131 | location of your Java installation." 132 | fi 133 | else 134 | JAVACMD=java 135 | if ! command -v java >/dev/null 2>&1 136 | then 137 | die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 138 | 139 | Please set the JAVA_HOME variable in your environment to match the 140 | location of your Java installation." 141 | fi 142 | fi 143 | 144 | # Increase the maximum file descriptors if we can. 145 | if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then 146 | case $MAX_FD in #( 147 | max*) 148 | # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. 149 | # shellcheck disable=SC2039,SC3045 150 | MAX_FD=$( ulimit -H -n ) || 151 | warn "Could not query maximum file descriptor limit" 152 | esac 153 | case $MAX_FD in #( 154 | '' | soft) :;; #( 155 | *) 156 | # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. 157 | # shellcheck disable=SC2039,SC3045 158 | ulimit -n "$MAX_FD" || 159 | warn "Could not set maximum file descriptor limit to $MAX_FD" 160 | esac 161 | fi 162 | 163 | # Collect all arguments for the java command, stacking in reverse order: 164 | # * args from the command line 165 | # * the main class name 166 | # * -classpath 167 | # * -D...appname settings 168 | # * --module-path (only if needed) 169 | # * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. 170 | 171 | # For Cygwin or MSYS, switch paths to Windows format before running java 172 | if "$cygwin" || "$msys" ; then 173 | APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) 174 | 175 | JAVACMD=$( cygpath --unix "$JAVACMD" ) 176 | 177 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 178 | for arg do 179 | if 180 | case $arg in #( 181 | -*) false ;; # don't mess with options #( 182 | /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath 183 | [ -e "$t" ] ;; #( 184 | *) false ;; 185 | esac 186 | then 187 | arg=$( cygpath --path --ignore --mixed "$arg" ) 188 | fi 189 | # Roll the args list around exactly as many times as the number of 190 | # args, so each arg winds up back in the position where it started, but 191 | # possibly modified. 192 | # 193 | # NB: a `for` loop captures its iteration list before it begins, so 194 | # changing the positional parameters here affects neither the number of 195 | # iterations, nor the values presented in `arg`. 196 | shift # remove old arg 197 | set -- "$@" "$arg" # push replacement arg 198 | done 199 | fi 200 | 201 | 202 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 203 | DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' 204 | 205 | # Collect all arguments for the java command: 206 | # * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, 207 | # and any embedded shellness will be escaped. 208 | # * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be 209 | # treated as '${Hostname}' itself on the command line. 210 | 211 | set -- \ 212 | "-Dorg.gradle.appname=$APP_BASE_NAME" \ 213 | -jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \ 214 | "$@" 215 | 216 | # Stop when "xargs" is not available. 217 | if ! command -v xargs >/dev/null 2>&1 218 | then 219 | die "xargs is not available" 220 | fi 221 | 222 | # Use "xargs" to parse quoted args. 223 | # 224 | # With -n1 it outputs one arg per line, with the quotes and backslashes removed. 225 | # 226 | # In Bash we could simply go: 227 | # 228 | # readarray ARGS < <( xargs -n1 <<<"$var" ) && 229 | # set -- "${ARGS[@]}" "$@" 230 | # 231 | # but POSIX shell has neither arrays nor command substitution, so instead we 232 | # post-process each arg (as a line of input to sed) to backslash-escape any 233 | # character that might be a shell metacharacter, then use eval to reverse 234 | # that process (while maintaining the separation between arguments), and wrap 235 | # the whole thing up as a single "set" statement. 236 | # 237 | # This will of course break if any of these variables contains a newline or 238 | # an unmatched quote. 239 | # 240 | 241 | eval "set -- $( 242 | printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | 243 | xargs -n1 | 244 | sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | 245 | tr '\n' ' ' 246 | )" '"$@"' 247 | 248 | exec "$JAVACMD" "$@" 249 | -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example/gradlew: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # 4 | # Copyright © 2015-2021 the original authors. 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # https://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | # 18 | 19 | ############################################################################## 20 | # 21 | # Gradle start up script for POSIX generated by Gradle. 22 | # 23 | # Important for running: 24 | # 25 | # (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is 26 | # noncompliant, but you have some other compliant shell such as ksh or 27 | # bash, then to run this script, type that shell name before the whole 28 | # command line, like: 29 | # 30 | # ksh Gradle 31 | # 32 | # Busybox and similar reduced shells will NOT work, because this script 33 | # requires all of these POSIX shell features: 34 | # * functions; 35 | # * expansions «$var», «${var}», «${var:-default}», «${var+SET}», 36 | # «${var#prefix}», «${var%suffix}», and «$( cmd )»; 37 | # * compound commands having a testable exit status, especially «case»; 38 | # * various built-in commands including «command», «set», and «ulimit». 39 | # 40 | # Important for patching: 41 | # 42 | # (2) This script targets any POSIX shell, so it avoids extensions provided 43 | # by Bash, Ksh, etc; in particular arrays are avoided. 44 | # 45 | # The "traditional" practice of packing multiple parameters into a 46 | # space-separated string is a well documented source of bugs and security 47 | # problems, so this is (mostly) avoided, by progressively accumulating 48 | # options in "$@", and eventually passing that to Java. 49 | # 50 | # Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, 51 | # and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; 52 | # see the in-line comments for details. 53 | # 54 | # There are tweaks for specific operating systems such as AIX, CygWin, 55 | # Darwin, MinGW, and NonStop. 56 | # 57 | # (3) This script is generated from the Groovy template 58 | # https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt 59 | # within the Gradle project. 60 | # 61 | # You can find Gradle at https://github.com/gradle/gradle/. 62 | # 63 | ############################################################################## 64 | 65 | # Attempt to set APP_HOME 66 | 67 | # Resolve links: $0 may be a link 68 | app_path=$0 69 | 70 | # Need this for daisy-chained symlinks. 71 | while 72 | APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path 73 | [ -h "$app_path" ] 74 | do 75 | ls=$( ls -ld "$app_path" ) 76 | link=${ls#*' -> '} 77 | case $link in #( 78 | /*) app_path=$link ;; #( 79 | *) app_path=$APP_HOME$link ;; 80 | esac 81 | done 82 | 83 | # This is normally unused 84 | # shellcheck disable=SC2034 85 | APP_BASE_NAME=${0##*/} 86 | # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) 87 | APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit 88 | 89 | # Use the maximum available, or set MAX_FD != -1 to use that value. 90 | MAX_FD=maximum 91 | 92 | warn () { 93 | echo "$*" 94 | } >&2 95 | 96 | die () { 97 | echo 98 | echo "$*" 99 | echo 100 | exit 1 101 | } >&2 102 | 103 | # OS specific support (must be 'true' or 'false'). 104 | cygwin=false 105 | msys=false 106 | darwin=false 107 | nonstop=false 108 | case "$( uname )" in #( 109 | CYGWIN* ) cygwin=true ;; #( 110 | Darwin* ) darwin=true ;; #( 111 | MSYS* | MINGW* ) msys=true ;; #( 112 | NONSTOP* ) nonstop=true ;; 113 | esac 114 | 115 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 116 | 117 | 118 | # Determine the Java command to use to start the JVM. 119 | if [ -n "$JAVA_HOME" ] ; then 120 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 121 | # IBM's JDK on AIX uses strange locations for the executables 122 | JAVACMD=$JAVA_HOME/jre/sh/java 123 | else 124 | JAVACMD=$JAVA_HOME/bin/java 125 | fi 126 | if [ ! -x "$JAVACMD" ] ; then 127 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 128 | 129 | Please set the JAVA_HOME variable in your environment to match the 130 | location of your Java installation." 131 | fi 132 | else 133 | JAVACMD=java 134 | if ! command -v java >/dev/null 2>&1 135 | then 136 | die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 137 | 138 | Please set the JAVA_HOME variable in your environment to match the 139 | location of your Java installation." 140 | fi 141 | fi 142 | 143 | # Increase the maximum file descriptors if we can. 144 | if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then 145 | case $MAX_FD in #( 146 | max*) 147 | # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. 148 | # shellcheck disable=SC2039,SC3045 149 | MAX_FD=$( ulimit -H -n ) || 150 | warn "Could not query maximum file descriptor limit" 151 | esac 152 | case $MAX_FD in #( 153 | '' | soft) :;; #( 154 | *) 155 | # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. 156 | # shellcheck disable=SC2039,SC3045 157 | ulimit -n "$MAX_FD" || 158 | warn "Could not set maximum file descriptor limit to $MAX_FD" 159 | esac 160 | fi 161 | 162 | # Collect all arguments for the java command, stacking in reverse order: 163 | # * args from the command line 164 | # * the main class name 165 | # * -classpath 166 | # * -D...appname settings 167 | # * --module-path (only if needed) 168 | # * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. 169 | 170 | # For Cygwin or MSYS, switch paths to Windows format before running java 171 | if "$cygwin" || "$msys" ; then 172 | APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) 173 | CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) 174 | 175 | JAVACMD=$( cygpath --unix "$JAVACMD" ) 176 | 177 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 178 | for arg do 179 | if 180 | case $arg in #( 181 | -*) false ;; # don't mess with options #( 182 | /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath 183 | [ -e "$t" ] ;; #( 184 | *) false ;; 185 | esac 186 | then 187 | arg=$( cygpath --path --ignore --mixed "$arg" ) 188 | fi 189 | # Roll the args list around exactly as many times as the number of 190 | # args, so each arg winds up back in the position where it started, but 191 | # possibly modified. 192 | # 193 | # NB: a `for` loop captures its iteration list before it begins, so 194 | # changing the positional parameters here affects neither the number of 195 | # iterations, nor the values presented in `arg`. 196 | shift # remove old arg 197 | set -- "$@" "$arg" # push replacement arg 198 | done 199 | fi 200 | 201 | 202 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 203 | DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' 204 | 205 | # Collect all arguments for the java command: 206 | # * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, 207 | # and any embedded shellness will be escaped. 208 | # * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be 209 | # treated as '${Hostname}' itself on the command line. 210 | 211 | set -- \ 212 | "-Dorg.gradle.appname=$APP_BASE_NAME" \ 213 | -classpath "$CLASSPATH" \ 214 | org.gradle.wrapper.GradleWrapperMain \ 215 | "$@" 216 | 217 | # Stop when "xargs" is not available. 218 | if ! command -v xargs >/dev/null 2>&1 219 | then 220 | die "xargs is not available" 221 | fi 222 | 223 | # Use "xargs" to parse quoted args. 224 | # 225 | # With -n1 it outputs one arg per line, with the quotes and backslashes removed. 226 | # 227 | # In Bash we could simply go: 228 | # 229 | # readarray ARGS < <( xargs -n1 <<<"$var" ) && 230 | # set -- "${ARGS[@]}" "$@" 231 | # 232 | # but POSIX shell has neither arrays nor command substitution, so instead we 233 | # post-process each arg (as a line of input to sed) to backslash-escape any 234 | # character that might be a shell metacharacter, then use eval to reverse 235 | # that process (while maintaining the separation between arguments), and wrap 236 | # the whole thing up as a single "set" statement. 237 | # 238 | # This will of course break if any of these variables contains a newline or 239 | # an unmatched quote. 240 | # 241 | 242 | eval "set -- $( 243 | printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | 244 | xargs -n1 | 245 | sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | 246 | tr '\n' ' ' 247 | )" '"$@"' 248 | 249 | exec "$JAVACMD" "$@" 250 | -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example-kotlin/gradlew: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # 4 | # Copyright © 2015-2021 the original authors. 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # https://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | # 18 | 19 | ############################################################################## 20 | # 21 | # Gradle start up script for POSIX generated by Gradle. 22 | # 23 | # Important for running: 24 | # 25 | # (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is 26 | # noncompliant, but you have some other compliant shell such as ksh or 27 | # bash, then to run this script, type that shell name before the whole 28 | # command line, like: 29 | # 30 | # ksh Gradle 31 | # 32 | # Busybox and similar reduced shells will NOT work, because this script 33 | # requires all of these POSIX shell features: 34 | # * functions; 35 | # * expansions «$var», «${var}», «${var:-default}», «${var+SET}», 36 | # «${var#prefix}», «${var%suffix}», and «$( cmd )»; 37 | # * compound commands having a testable exit status, especially «case»; 38 | # * various built-in commands including «command», «set», and «ulimit». 39 | # 40 | # Important for patching: 41 | # 42 | # (2) This script targets any POSIX shell, so it avoids extensions provided 43 | # by Bash, Ksh, etc; in particular arrays are avoided. 44 | # 45 | # The "traditional" practice of packing multiple parameters into a 46 | # space-separated string is a well documented source of bugs and security 47 | # problems, so this is (mostly) avoided, by progressively accumulating 48 | # options in "$@", and eventually passing that to Java. 49 | # 50 | # Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, 51 | # and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; 52 | # see the in-line comments for details. 53 | # 54 | # There are tweaks for specific operating systems such as AIX, CygWin, 55 | # Darwin, MinGW, and NonStop. 56 | # 57 | # (3) This script is generated from the Groovy template 58 | # https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt 59 | # within the Gradle project. 60 | # 61 | # You can find Gradle at https://github.com/gradle/gradle/. 62 | # 63 | ############################################################################## 64 | 65 | # Attempt to set APP_HOME 66 | 67 | # Resolve links: $0 may be a link 68 | app_path=$0 69 | 70 | # Need this for daisy-chained symlinks. 71 | while 72 | APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path 73 | [ -h "$app_path" ] 74 | do 75 | ls=$( ls -ld "$app_path" ) 76 | link=${ls#*' -> '} 77 | case $link in #( 78 | /*) app_path=$link ;; #( 79 | *) app_path=$APP_HOME$link ;; 80 | esac 81 | done 82 | 83 | # This is normally unused 84 | # shellcheck disable=SC2034 85 | APP_BASE_NAME=${0##*/} 86 | # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) 87 | APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit 88 | 89 | # Use the maximum available, or set MAX_FD != -1 to use that value. 90 | MAX_FD=maximum 91 | 92 | warn () { 93 | echo "$*" 94 | } >&2 95 | 96 | die () { 97 | echo 98 | echo "$*" 99 | echo 100 | exit 1 101 | } >&2 102 | 103 | # OS specific support (must be 'true' or 'false'). 104 | cygwin=false 105 | msys=false 106 | darwin=false 107 | nonstop=false 108 | case "$( uname )" in #( 109 | CYGWIN* ) cygwin=true ;; #( 110 | Darwin* ) darwin=true ;; #( 111 | MSYS* | MINGW* ) msys=true ;; #( 112 | NONSTOP* ) nonstop=true ;; 113 | esac 114 | 115 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 116 | 117 | 118 | # Determine the Java command to use to start the JVM. 119 | if [ -n "$JAVA_HOME" ] ; then 120 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 121 | # IBM's JDK on AIX uses strange locations for the executables 122 | JAVACMD=$JAVA_HOME/jre/sh/java 123 | else 124 | JAVACMD=$JAVA_HOME/bin/java 125 | fi 126 | if [ ! -x "$JAVACMD" ] ; then 127 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 128 | 129 | Please set the JAVA_HOME variable in your environment to match the 130 | location of your Java installation." 131 | fi 132 | else 133 | JAVACMD=java 134 | if ! command -v java >/dev/null 2>&1 135 | then 136 | die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 137 | 138 | Please set the JAVA_HOME variable in your environment to match the 139 | location of your Java installation." 140 | fi 141 | fi 142 | 143 | # Increase the maximum file descriptors if we can. 144 | if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then 145 | case $MAX_FD in #( 146 | max*) 147 | # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. 148 | # shellcheck disable=SC2039,SC3045 149 | MAX_FD=$( ulimit -H -n ) || 150 | warn "Could not query maximum file descriptor limit" 151 | esac 152 | case $MAX_FD in #( 153 | '' | soft) :;; #( 154 | *) 155 | # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. 156 | # shellcheck disable=SC2039,SC3045 157 | ulimit -n "$MAX_FD" || 158 | warn "Could not set maximum file descriptor limit to $MAX_FD" 159 | esac 160 | fi 161 | 162 | # Collect all arguments for the java command, stacking in reverse order: 163 | # * args from the command line 164 | # * the main class name 165 | # * -classpath 166 | # * -D...appname settings 167 | # * --module-path (only if needed) 168 | # * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. 169 | 170 | # For Cygwin or MSYS, switch paths to Windows format before running java 171 | if "$cygwin" || "$msys" ; then 172 | APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) 173 | CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) 174 | 175 | JAVACMD=$( cygpath --unix "$JAVACMD" ) 176 | 177 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 178 | for arg do 179 | if 180 | case $arg in #( 181 | -*) false ;; # don't mess with options #( 182 | /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath 183 | [ -e "$t" ] ;; #( 184 | *) false ;; 185 | esac 186 | then 187 | arg=$( cygpath --path --ignore --mixed "$arg" ) 188 | fi 189 | # Roll the args list around exactly as many times as the number of 190 | # args, so each arg winds up back in the position where it started, but 191 | # possibly modified. 192 | # 193 | # NB: a `for` loop captures its iteration list before it begins, so 194 | # changing the positional parameters here affects neither the number of 195 | # iterations, nor the values presented in `arg`. 196 | shift # remove old arg 197 | set -- "$@" "$arg" # push replacement arg 198 | done 199 | fi 200 | 201 | 202 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 203 | DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' 204 | 205 | # Collect all arguments for the java command: 206 | # * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, 207 | # and any embedded shellness will be escaped. 208 | # * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be 209 | # treated as '${Hostname}' itself on the command line. 210 | 211 | set -- \ 212 | "-Dorg.gradle.appname=$APP_BASE_NAME" \ 213 | -classpath "$CLASSPATH" \ 214 | org.gradle.wrapper.GradleWrapperMain \ 215 | "$@" 216 | 217 | # Stop when "xargs" is not available. 218 | if ! command -v xargs >/dev/null 2>&1 219 | then 220 | die "xargs is not available" 221 | fi 222 | 223 | # Use "xargs" to parse quoted args. 224 | # 225 | # With -n1 it outputs one arg per line, with the quotes and backslashes removed. 226 | # 227 | # In Bash we could simply go: 228 | # 229 | # readarray ARGS < <( xargs -n1 <<<"$var" ) && 230 | # set -- "${ARGS[@]}" "$@" 231 | # 232 | # but POSIX shell has neither arrays nor command substitution, so instead we 233 | # post-process each arg (as a line of input to sed) to backslash-escape any 234 | # character that might be a shell metacharacter, then use eval to reverse 235 | # that process (while maintaining the separation between arguments), and wrap 236 | # the whole thing up as a single "set" statement. 237 | # 238 | # This will of course break if any of these variables contains a newline or 239 | # an unmatched quote. 240 | # 241 | 242 | eval "set -- $( 243 | printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | 244 | xargs -n1 | 245 | sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | 246 | tr '\n' ' ' 247 | )" '"$@"' 248 | 249 | exec "$JAVACMD" "$@" 250 | -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example/CHANGELOG_ignoreCommitsOlderThan.md: -------------------------------------------------------------------------------- 1 | 2 | # Git Changelog 3 | 4 | Changelog of Git Changelog. 5 | 6 | ## 1.71.3 7 | ### No issue 8 | chore(release): 1.71.3 [GRADLE SCRIPT] *2021-06-11 18:06:55* 9 | 10 | 11 | 12 | ## 1.71.2 13 | ### No issue 14 | chore(release): 1.71.2 [GRADLE SCRIPT] *2021-06-09 17:02:10* 15 | 16 | 17 | 18 | ## 1.71.1 19 | ### No issue 20 | chore(release): 1.71.1 [GRADLE SCRIPT] *2021-06-09 17:00:05* 21 | 22 | chore(release): Updating changelog with 1.71.0 [GRADLE SCRIPT] *2021-06-09 14:32:18* 23 | 24 | 25 | 26 | ## 1.71.0 27 | ### No issue 28 | chore(release): 1.71.0 [GRADLE SCRIPT] *2021-06-09 14:32:11* 29 | 30 | fix: when file was in a new folder, it created folder *2021-06-09 14:31:25* 31 | 32 | chore(release): Updating changelog with 1.70.0 [GRADLE SCRIPT] *2021-06-03 17:10:13* 33 | 34 | 35 | 36 | ## 1.70.0 37 | ### No issue 38 | chore(release): 1.70.0 [GRADLE SCRIPT] *2021-06-03 17:10:04* 39 | 40 | chore(release): Updating changelog with 1.69.0 [GRADLE SCRIPT] *2021-06-02 19:15:38* 41 | 42 | 43 | 44 | ## 1.69.0 45 | ### No issue 46 | chore(release): 1.69.0 [GRADLE SCRIPT] *2021-06-02 19:15:31* 47 | 48 | 49 | 50 | ## 1.68.6 51 | ### No issue 52 | chore(release): 1.68.6 [GRADLE SCRIPT] *2021-06-01 15:46:23* 53 | 54 | 55 | 56 | ## 1.68.5 57 | ### No issue 58 | chore(release): 1.68.5 [GRADLE SCRIPT] *2021-06-01 14:50:19* 59 | 60 | fix: temporary removing plugins not working with Gradle 7 *2021-06-01 14:49:11* 61 | 62 | chore(release): Updating changelog with 1.68.4 [GRADLE SCRIPT] *2021-05-31 18:47:43* 63 | 64 | 65 | 66 | ## 1.68.4 67 | ### No issue 68 | chore(release): 1.68.4 [GRADLE SCRIPT] *2021-05-31 18:47:29* 69 | 70 | chore(release): Updating changelog with 1.68.3 [GRADLE SCRIPT] *2021-05-31 18:42:18* 71 | 72 | 73 | 74 | ## 1.68.3 75 | ### No issue 76 | chore(release): 1.68.3 [GRADLE SCRIPT] *2021-05-31 18:42:05* 77 | 78 | chore(release): Updating changelog with 1.68.2 [GRADLE SCRIPT] *2021-05-31 18:35:18* 79 | 80 | 81 | 82 | ## 1.68.2 83 | ### No issue 84 | chore(release): 1.68.2 [GRADLE SCRIPT] *2021-05-31 18:35:10* 85 | 86 | chore: removing usage of Guava *2021-05-31 18:34:15* 87 | 88 | 89 | 90 | ## 1.68.1 91 | ### No issue 92 | New version: 1.68.1 [GRADLE SCRIPT] *2021-05-27 16:52:47* 93 | 94 | Updating changelog with 1.68.0 [GRADLE SCRIPT] *2021-05-27 16:46:19* 95 | 96 | 97 | 98 | ## 1.68.0 99 | ### No issue 100 | New version: 1.68.0 [GRADLE SCRIPT] *2021-05-27 16:46:06* 101 | 102 | feat: support conventional commits *2021-05-27 16:43:16* 103 | 104 | new build script *2021-04-04 15:46:18* 105 | 106 | [Gradle Release Plugin] - new version commit: '1.67-SNAPSHOT'. *2021-03-29 15:49:40* 107 | 108 | 109 | 110 | ## 1.66 111 | ### Jira 112 | pretty printing output JENKINS-65252 *2021-03-29 15:48:00* 113 | 114 | 115 | ### No issue 116 | [Gradle Release Plugin] - pre tag commit: '1.66'. *2021-03-29 15:49:05* 117 | 118 | [Gradle Release Plugin] - new version commit: '1.66-SNAPSHOT'. *2021-01-18 17:08:01* 119 | 120 | 121 | 122 | ## 1.65 123 | ### GitHub 124 | Merge pull request #19 from ccrvincent/ccrvincent/updateReadme 125 | 126 | Update README to use Plugin DSL *2019-09-09 13:18:01* 127 | 128 | 129 | ### No issue 130 | [Gradle Release Plugin] - pre tag commit: '1.65'. *2021-01-18 17:07:19* 131 | 132 | Removing default ignore filter on message *2021-01-18 17:04:59* 133 | 134 | doc *2019-10-09 16:58:05* 135 | 136 | Create FUNDING.yml *2019-09-28 06:58:22* 137 | 138 | Update README to use Plugin DSL *2019-09-09 13:14:40* 139 | 140 | [Gradle Release Plugin] - new version commit: '1.65-SNAPSHOT'. *2019-08-13 13:41:46* 141 | 142 | 143 | 144 | ## 1.64 145 | ### GitHub 146 | Merge pull request #17 from mdolinin/feature/provide-ability-to-override-repo-property-from-gradle 147 | 148 | Set fromRepo property only if provided and after read settings file. *2019-08-13 13:20:29* 149 | 150 | 151 | ### No issue 152 | [Gradle Release Plugin] - pre tag commit: '1.64'. *2019-08-13 13:38:48* 153 | 154 | Update .travis.yml *2019-08-13 04:35:49* 155 | 156 | Set fromRepo property only if provided and after read settings file. 157 | This will provide ability to override path to git repo from gradle script. *2019-08-13 00:22:29* 158 | 159 | [Gradle Release Plugin] - new version commit: '1.64-SNAPSHOT'. *2019-06-11 17:15:53* 160 | 161 | 162 | 163 | ## 1.63 164 | ### No issue 165 | [Gradle Release Plugin] - pre tag commit: '1.63'. *2019-06-11 17:06:00* 166 | 167 | Removing dependency on javax.xml *2019-06-11 17:04:17* 168 | 169 | [Gradle Release Plugin] - new version commit: '1.63-SNAPSHOT'. *2019-06-11 16:39:09* 170 | 171 | 172 | 173 | ## 1.62 174 | ### No issue 175 | [Gradle Release Plugin] - pre tag commit: '1.62'. *2019-06-11 16:38:38* 176 | 177 | JDK 11 compatible *2019-06-11 16:36:28* 178 | 179 | Updating tests *2019-05-20 15:07:55* 180 | 181 | [Gradle Release Plugin] - new version commit: '1.62-SNAPSHOT'. *2019-05-20 15:02:01* 182 | 183 | 184 | 185 | ## 1.61 186 | ### No issue 187 | [Gradle Release Plugin] - pre tag commit: '1.61'. *2019-05-20 15:00:43* 188 | 189 | Gradle 5 *2019-05-20 14:29:54* 190 | 191 | [Gradle Release Plugin] - new version commit: '1.61-SNAPSHOT'. *2019-01-08 18:08:12* 192 | 193 | 194 | 195 | ## 1.60 196 | ### No issue 197 | [Gradle Release Plugin] - pre tag commit: '1.60'. *2019-01-08 18:05:43* 198 | 199 | Jira linked issues *2019-01-08 18:01:20* 200 | 201 | [Gradle Release Plugin] - new version commit: '1.60-SNAPSHOT'. *2018-10-27 17:59:55* 202 | 203 | 204 | 205 | ## 1.59 206 | ### No issue 207 | [Gradle Release Plugin] - pre tag commit: '1.59'. *2018-10-27 17:57:57* 208 | 209 | Correcting GitLab integration after upgrade *2018-10-27 17:56:49* 210 | 211 | [Gradle Release Plugin] - new version commit: '1.59-SNAPSHOT'. *2018-10-27 16:28:45* 212 | 213 | 214 | 215 | ## 1.58 216 | ### No issue 217 | [Gradle Release Plugin] - pre tag commit: '1.58'. *2018-10-27 16:28:12* 218 | 219 | GitLab API v4 *2018-10-27 16:27:04* 220 | 221 | [Gradle Release Plugin] - new version commit: '1.58-SNAPSHOT'. *2018-10-27 06:07:18* 222 | 223 | 224 | 225 | ## 1.57 226 | ### No issue 227 | [Gradle Release Plugin] - pre tag commit: '1.57'. *2018-10-27 06:06:44* 228 | 229 | isJira isGitHub... *2018-10-27 06:05:00* 230 | 231 | doc *2018-09-25 07:22:54* 232 | 233 | using latest version in example *2018-09-13 09:02:58* 234 | 235 | [Gradle Release Plugin] - new version commit: '1.57-SNAPSHOT'. *2018-09-13 07:22:24* 236 | 237 | 238 | 239 | ## 1.56 240 | ### No issue 241 | [Gradle Release Plugin] - pre tag commit: '1.56'. *2018-09-13 07:22:15* 242 | 243 | git-changelog-lib 1.82 *2018-09-13 07:20:10* 244 | 245 | [Gradle Release Plugin] - new version commit: '1.56-SNAPSHOT'. *2017-12-30 20:40:55* 246 | 247 | 248 | 249 | ## 1.55 250 | ### Jira 251 | Closing RevWalk JENKINS-19994 *2017-12-30 20:38:52* 252 | 253 | 254 | ### No issue 255 | [Gradle Release Plugin] - pre tag commit: '1.55'. *2017-12-30 20:40:01* 256 | 257 | Doc *2017-12-19 12:31:47* 258 | 259 | [Gradle Release Plugin] - new version commit: '1.55-SNAPSHOT'. *2017-12-19 12:13:00* 260 | 261 | 262 | 263 | ## 1.54 264 | ### No issue 265 | [Gradle Release Plugin] - pre tag commit: '1.54'. *2017-12-19 12:12:47* 266 | 267 | Description available for Jira issues *2017-12-19 12:10:36* 268 | 269 | Adjusting to Bintray *2017-12-19 12:10:26* 270 | 271 | Doc *2017-11-18 12:39:39* 272 | 273 | [Gradle Release Plugin] - new version commit: '1.54-SNAPSHOT'. *2017-11-18 12:37:05* 274 | 275 | 276 | 277 | ## 1.53 278 | ### No issue 279 | [Gradle Release Plugin] - pre tag commit: '1.53'. *2017-11-18 12:36:56* 280 | 281 | Disabling integrations if not used *2017-11-18 12:35:27* 282 | 283 | Doc *2017-11-02 17:18:14* 284 | 285 | [Gradle Release Plugin] - new version commit: '1.53-SNAPSHOT'. *2017-11-02 17:15:23* 286 | 287 | 288 | 289 | ## 1.52 290 | ### No issue 291 | [Gradle Release Plugin] - pre tag commit: '1.52'. *2017-11-02 17:15:16* 292 | 293 | Avoiding usage of Guava Objects *2017-11-02 17:14:15* 294 | 295 | Doc *2017-10-28 11:23:02* 296 | 297 | [Gradle Release Plugin] - new version commit: '1.52-SNAPSHOT'. *2017-10-28 10:50:44* 298 | 299 | 300 | 301 | ## 1.51 302 | ### No issue 303 | [Gradle Release Plugin] - pre tag commit: '1.51'. *2017-10-28 10:50:35* 304 | 305 | Gradle publish plugin 0.9.9 *2017-10-28 10:49:45* 306 | 307 | doc *2017-07-25 18:31:19* 308 | 309 | [Gradle Release Plugin] - new version commit: '1.51-SNAPSHOT'. *2017-07-25 18:28:29* 310 | 311 | 312 | 313 | ## 1.50 314 | ### No issue 315 | [Gradle Release Plugin] - pre tag commit: '1.50'. *2017-07-25 18:28:16* 316 | 317 | Lib 1.71 *2017-07-25 18:27:12* 318 | 319 | doc *2017-07-24 20:02:45* 320 | 321 | [Gradle Release Plugin] - new version commit: '1.50-SNAPSHOT'. *2017-07-24 19:55:40* 322 | 323 | 324 | 325 | ## 1.49 326 | ### No issue 327 | [Gradle Release Plugin] - pre tag commit: '1.49'. *2017-07-24 19:55:31* 328 | 329 | Lib 1.70 *2017-07-24 19:43:57* 330 | 331 | doc *2017-07-09 19:50:09* 332 | 333 | [Gradle Release Plugin] - new version commit: '1.49-SNAPSHOT'. *2017-07-08 06:09:14* 334 | 335 | 336 | 337 | ## 1.48 338 | ### GitHub 339 | Ignore commits older than #9 *2017-07-08 06:06:26* 340 | 341 | 342 | ### No issue 343 | [Gradle Release Plugin] - pre tag commit: '1.48'. *2017-07-08 06:08:59* 344 | 345 | doc *2017-05-22 16:19:24* 346 | 347 | [Gradle Release Plugin] - new version commit: '1.48-SNAPSHOT'. *2017-05-22 16:18:11* 348 | 349 | 350 | 351 | ## 1.47 352 | ### GitHub 353 | Better handling of relative paths #7 *2017-05-22 16:16:38* 354 | 355 | 356 | ### No issue 357 | [Gradle Release Plugin] - pre tag commit: '1.47'. *2017-05-22 16:17:52* 358 | 359 | doc *2017-05-20 14:47:09* 360 | 361 | [Gradle Release Plugin] - new version commit: '1.47-SNAPSHOT'. *2017-05-20 14:44:47* 362 | 363 | 364 | 365 | ## 1.46 366 | ### GitHub 367 | Using file(..) instead of new File(..) in examples #7 *2017-05-20 14:14:53* 368 | 369 | 370 | ### GitHub 371 | Adding fromRepo attribute #8 *2017-05-20 14:43:23* 372 | 373 | 374 | ### No issue 375 | [Gradle Release Plugin] - pre tag commit: '1.46'. *2017-05-20 14:44:23* 376 | 377 | 378 | 379 | -------------------------------------------------------------------------------- /src/main/java/se/bjurr/gitchangelog/plugin/gradle/GitChangelogTask.java: -------------------------------------------------------------------------------- 1 | package se.bjurr.gitchangelog.plugin.gradle; 2 | 3 | import static se.bjurr.gitchangelog.api.GitChangelogApi.gitChangelogApiBuilder; 4 | 5 | import java.io.File; 6 | import java.util.ArrayList; 7 | import java.util.Date; 8 | import org.gradle.api.DefaultTask; 9 | import org.gradle.api.provider.ListProperty; 10 | import org.gradle.api.provider.Property; 11 | import org.gradle.api.tasks.TaskAction; 12 | import org.slf4j.Logger; 13 | import org.slf4j.LoggerFactory; 14 | import se.bjurr.gitchangelog.api.GitChangelogApi; 15 | import se.bjurr.gitchangelog.api.InclusivenessStrategy; 16 | 17 | public class GitChangelogTask extends DefaultTask { 18 | 19 | private static final Logger log = LoggerFactory.getLogger(GitChangelogTask.class.getName()); 20 | 21 | public Property fromRepo = 22 | this.getProject() 23 | .getObjects() 24 | .property(String.class) 25 | .convention(this.getProject().getRootProject().getRootDir().getAbsolutePath()); 26 | 27 | public Property toRevision = this.getProject().getObjects().property(String.class); 28 | public Property toRevisionStrategy = 29 | this.getProject() 30 | .getObjects() 31 | .property(InclusivenessStrategy.class) 32 | .convention(InclusivenessStrategy.DEFAULT); 33 | 34 | public Property fromRevision = this.getProject().getObjects().property(String.class); 35 | public Property fromRevisionStrategy = 36 | this.getProject() 37 | .getObjects() 38 | .property(InclusivenessStrategy.class) 39 | .convention(InclusivenessStrategy.DEFAULT); 40 | 41 | public Property settingsFile = this.getProject().getObjects().property(String.class); 42 | public Property templateBaseDir = this.getProject().getObjects().property(String.class); 43 | public Property templateContent = this.getProject().getObjects().property(String.class); 44 | public Property templateSuffix = this.getProject().getObjects().property(String.class); 45 | public Property file = 46 | this.getProject() 47 | .getObjects() 48 | .property(File.class) 49 | .convention(this.getProject().file("CHANGELOG.md")); 50 | 51 | public Property readableTagName = this.getProject().getObjects().property(String.class); 52 | public Property dateFormat = this.getProject().getObjects().property(String.class); 53 | public Property timeZone = this.getProject().getObjects().property(String.class); 54 | public Property removeIssueFromMessage = 55 | this.getProject().getObjects().property(Boolean.class).convention(false); 56 | public Property ignoreCommitsIfMessageMatches = 57 | this.getProject().getObjects().property(String.class); 58 | public Property untaggedName = this.getProject().getObjects().property(String.class); 59 | public Property noIssueName = this.getProject().getObjects().property(String.class); 60 | public Property ignoreCommitsWithoutIssue = 61 | this.getProject().getObjects().property(Boolean.class).convention(false); 62 | public Property ignoreTagsIfNameMatches = 63 | this.getProject().getObjects().property(String.class); 64 | 65 | public ListProperty customIssues = 66 | this.getProject() 67 | .getObjects() 68 | .listProperty(CustomIssue.class) 69 | .convention(new ArrayList()); 70 | 71 | public Property gitHubEnabled = 72 | this.getProject().getObjects().property(Boolean.class).convention(false); 73 | public Property gitHubApi = this.getProject().getObjects().property(String.class); 74 | public Property gitHubToken = this.getProject().getObjects().property(String.class); 75 | public Property gitHubIssuePattern = 76 | this.getProject().getObjects().property(String.class); 77 | 78 | public Property jiraEnabled = 79 | this.getProject().getObjects().property(Boolean.class).convention(false); 80 | public Property jiraUsername = this.getProject().getObjects().property(String.class); 81 | public Property jiraPassword = this.getProject().getObjects().property(String.class); 82 | public Property jiraIssuePattern = this.getProject().getObjects().property(String.class); 83 | public Property jiraServer = this.getProject().getObjects().property(String.class); 84 | 85 | public Property gitLabEnabled = 86 | this.getProject().getObjects().property(Boolean.class).convention(false); 87 | public Property gitLabServer = this.getProject().getObjects().property(String.class); 88 | public Property gitLabProjectName = this.getProject().getObjects().property(String.class); 89 | public Property gitLabToken = this.getProject().getObjects().property(String.class); 90 | 91 | public Property ignoreCommitsOlderThan = 92 | this.getProject().getObjects().property(Date.class); 93 | public ListProperty handlebarsHelpers = 94 | this.getProject() 95 | .getObjects() 96 | .listProperty(HelperParam.class) 97 | .convention(new ArrayList()); 98 | 99 | public Property useIntegrations = 100 | this.getProject().getObjects().property(Boolean.class).convention(false); 101 | public Property prependToFile = 102 | this.getProject().getObjects().property(Boolean.class).convention(false); 103 | 104 | public CustomIssue customIssue() { 105 | final CustomIssue customIssue = new CustomIssue(); 106 | this.customIssues.add(customIssue); 107 | return customIssue; 108 | } 109 | 110 | @TaskAction 111 | public void gitChangelogPluginTasks() { 112 | try { 113 | final GitChangelogApi builder = 114 | gitChangelogApiBuilder() 115 | .withUseIntegrations(this.useIntegrations.get()) 116 | .withJiraEnabled(this.jiraEnabled.get()) 117 | .withGitLabEnabled(this.gitLabEnabled.get()) 118 | .withGitHubEnabled(this.gitHubEnabled.get()); 119 | 120 | for (final HelperParam helper : this.handlebarsHelpers.get()) { 121 | builder // 122 | .withHandlebarsHelper(helper.getName(), helper.getHelper()); 123 | } 124 | 125 | if (this.settingsFile.isPresent()) { 126 | builder.withSettings(this.getProject().file(this.settingsFile).toURI().toURL()); 127 | } 128 | 129 | builder.withFromRepo(this.fromRepo.get()); 130 | 131 | if (this.fromRevision.isPresent()) { 132 | builder.withFromRevision(this.fromRevision.get(), this.fromRevisionStrategy.get()); 133 | } 134 | 135 | if (this.toRevision.isPresent()) { 136 | builder.withToRevision(this.toRevision.get(), this.toRevisionStrategy.get()); 137 | } 138 | 139 | if (this.templateBaseDir.isPresent()) { 140 | builder.withTemplateBaseDir(this.templateBaseDir.get()); 141 | } 142 | if (this.templateContent.isPresent()) { 143 | builder.withTemplateContent(this.templateContent.get()); 144 | } 145 | if (this.templateSuffix.isPresent()) { 146 | builder.withTemplateSuffix(this.templateSuffix.get()); 147 | } 148 | 149 | if (this.ignoreTagsIfNameMatches.isPresent()) { 150 | builder.withIgnoreTagsIfNameMatches(this.ignoreTagsIfNameMatches.get()); 151 | } 152 | if (this.readableTagName.isPresent()) { 153 | builder.withReadableTagName(this.readableTagName.get()); 154 | } 155 | if (this.dateFormat.isPresent()) { 156 | builder.withDateFormat(this.dateFormat.get()); 157 | } 158 | if (this.timeZone.isPresent()) { 159 | builder.withTimeZone(this.timeZone.get()); 160 | } 161 | builder.withRemoveIssueFromMessageArgument(this.removeIssueFromMessage.get()); 162 | if (this.ignoreCommitsIfMessageMatches.isPresent()) { 163 | builder.withIgnoreCommitsWithMessage(this.ignoreCommitsIfMessageMatches.get()); 164 | } 165 | if (this.ignoreCommitsOlderThan.isPresent()) { 166 | builder.withIgnoreCommitsOlderThan(this.ignoreCommitsOlderThan.get()); 167 | } 168 | if (this.untaggedName.isPresent()) { 169 | builder.withUntaggedName(this.untaggedName.get()); 170 | } 171 | if (this.noIssueName.isPresent()) { 172 | builder.withNoIssueName(this.noIssueName.get()); 173 | } 174 | 175 | builder.withIgnoreCommitsWithoutIssue(this.ignoreCommitsWithoutIssue.get()); 176 | for (final CustomIssue customIssue : this.customIssues.get()) { 177 | final String name = customIssue.getName(); 178 | final String pattern = customIssue.getPattern(); 179 | final String link = customIssue.getLink(); 180 | final String title = customIssue.getTitle(); 181 | builder.withCustomIssue(name, pattern, link, title); 182 | } 183 | if (this.gitHubApi.isPresent()) { 184 | builder.withGitHubApi(this.gitHubApi.get()); 185 | } 186 | if (this.gitHubToken.isPresent()) { 187 | builder.withGitHubToken(this.gitHubToken.get()); 188 | } 189 | if (this.gitHubIssuePattern.isPresent()) { 190 | builder.withGitHubIssuePattern(this.gitHubIssuePattern.get()); 191 | } 192 | 193 | if (this.gitLabProjectName.isPresent()) { 194 | builder.withGitLabProjectName(this.gitLabProjectName.get()); 195 | } 196 | if (this.gitLabServer.isPresent()) { 197 | builder.withGitLabServer(this.gitLabServer.get()); 198 | } 199 | if (this.gitLabToken.isPresent()) { 200 | builder.withGitLabToken(this.gitLabToken.get()); 201 | } 202 | 203 | if (this.jiraUsername.isPresent()) { 204 | builder.withJiraUsername(this.jiraUsername.get()); 205 | } 206 | if (this.jiraPassword.isPresent()) { 207 | builder.withJiraPassword(this.jiraPassword.get()); 208 | } 209 | if (this.jiraIssuePattern.isPresent()) { 210 | builder.withJiraIssuePattern(this.jiraIssuePattern.get()); 211 | } 212 | if (this.jiraServer.isPresent()) { 213 | builder.withJiraServer(this.jiraServer.get()); 214 | } 215 | 216 | if (this.file.isPresent()) { 217 | if (this.prependToFile.get()) { 218 | builder.prependToFile(this.file.get()); 219 | } else { 220 | builder.toFile(this.file.get()); 221 | } 222 | log.info("#"); 223 | log.info("# Wrote: " + this.file + " to: " + this.file.get().getCanonicalFile().toPath()); 224 | log.info("#"); 225 | } 226 | 227 | } catch (final Exception e) { 228 | log.error("GitChangelog", e); 229 | } 230 | } 231 | } 232 | -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example/CHANGELOG_mixed.md: -------------------------------------------------------------------------------- 1 | 2 | # Git Changelog Maven plugin changelog 3 | 4 | Changelog of Git Changelog Maven plugin. 5 | 6 | ## 1.71.3 7 | ### These commits have not issue in their commit comment 8 | chore(release): 1.71.3 [GRADLE SCRIPT] *18:06:55* 9 | 10 | 11 | 12 | ## 1.71.2 13 | ### These commits have not issue in their commit comment 14 | chore(release): 1.71.2 [GRADLE SCRIPT] *17:02:10* 15 | 16 | 17 | 18 | ## 1.71.1 19 | ### These commits have not issue in their commit comment 20 | chore(release): 1.71.1 [GRADLE SCRIPT] *17:00:05* 21 | 22 | chore(release): Updating changelog with 1.71.0 [GRADLE SCRIPT] *14:32:18* 23 | 24 | 25 | 26 | ## 1.71.0 27 | ### These commits have not issue in their commit comment 28 | chore(release): 1.71.0 [GRADLE SCRIPT] *14:32:11* 29 | 30 | fix: when file was in a new folder, it created folder *14:31:25* 31 | 32 | chore(release): Updating changelog with 1.70.0 [GRADLE SCRIPT] *17:10:13* 33 | 34 | 35 | 36 | ## 1.70.0 37 | ### These commits have not issue in their commit comment 38 | chore(release): 1.70.0 [GRADLE SCRIPT] *17:10:04* 39 | 40 | chore(release): Updating changelog with 1.69.0 [GRADLE SCRIPT] *19:15:38* 41 | 42 | 43 | 44 | ## 1.69.0 45 | ### These commits have not issue in their commit comment 46 | chore(release): 1.69.0 [GRADLE SCRIPT] *19:15:31* 47 | 48 | 49 | 50 | ## 1.68.6 51 | ### These commits have not issue in their commit comment 52 | chore(release): 1.68.6 [GRADLE SCRIPT] *15:46:23* 53 | 54 | 55 | 56 | ## 1.68.5 57 | ### These commits have not issue in their commit comment 58 | chore(release): 1.68.5 [GRADLE SCRIPT] *14:50:19* 59 | 60 | chore(release): Updating changelog with 1.68.4 [GRADLE SCRIPT] *18:47:43* 61 | 62 | 63 | 64 | ## 1.68.4 65 | ### These commits have not issue in their commit comment 66 | chore(release): 1.68.4 [GRADLE SCRIPT] *18:47:29* 67 | 68 | chore(release): Updating changelog with 1.68.3 [GRADLE SCRIPT] *18:42:18* 69 | 70 | 71 | 72 | ## 1.68.3 73 | ### These commits have not issue in their commit comment 74 | chore(release): 1.68.3 [GRADLE SCRIPT] *18:42:05* 75 | 76 | chore(release): Updating changelog with 1.68.2 [GRADLE SCRIPT] *18:35:18* 77 | 78 | 79 | 80 | ## 1.68.2 81 | ### These commits have not issue in their commit comment 82 | chore(release): 1.68.2 [GRADLE SCRIPT] *18:35:10* 83 | 84 | chore: removing usage of Guava *18:34:15* 85 | 86 | 87 | 88 | ## 1.68.1 89 | ### These commits have not issue in their commit comment 90 | New version: 1.68.1 [GRADLE SCRIPT] *16:52:47* 91 | 92 | Updating changelog with 1.68.0 [GRADLE SCRIPT] *16:46:19* 93 | 94 | 95 | 96 | ## 1.68.0 97 | ### GitHub 98 | Merge pull request #17 from mdolinin/feature/provide-ability-to-override-repo-property-from-gradle 99 | 100 | Set fromRepo property only if provided and after read settings file. *13:20:29* 101 | 102 | 103 | ### GitHub 104 | Merge pull request #19 from ccrvincent/ccrvincent/updateReadme 105 | 106 | Update README to use Plugin DSL *13:18:01* 107 | 108 | 109 | ### GitHub 110 | Better handling of relative paths #7 *16:16:38* 111 | 112 | Using file(..) instead of new File(..) in examples #7 *14:14:53* 113 | 114 | 115 | ### GitHub 116 | Adding fromRepo attribute #8 *14:43:23* 117 | 118 | 119 | ### GitHub 120 | Ignore commits older than #9 *06:06:26* 121 | 122 | 123 | ### Jira 124 | Closing RevWalk JENKINS-19994 *20:38:52* 125 | 126 | 127 | ### Jira 128 | pretty printing output JENKINS-65252 *15:48:00* 129 | 130 | 131 | ### These commits have not issue in their commit comment 132 | New version: 1.68.0 [GRADLE SCRIPT] *16:46:06* 133 | 134 | feat: support conventional commits *16:43:16* 135 | 136 | new build script *15:46:18* 137 | 138 | Removing default ignore filter on message *17:04:59* 139 | 140 | doc *16:58:05* 141 | 142 | Create FUNDING.yml *06:58:22* 143 | 144 | Update README to use Plugin DSL *13:14:40* 145 | 146 | Update .travis.yml *04:35:49* 147 | 148 | Set fromRepo property only if provided and after read settings file. 149 | This will provide ability to override path to git repo from gradle script. *00:22:29* 150 | 151 | Removing dependency on javax.xml *17:04:17* 152 | 153 | JDK 11 compatible *16:36:28* 154 | 155 | Updating tests *15:07:55* 156 | 157 | Jira linked issues *18:01:20* 158 | 159 | Correcting GitLab integration after upgrade *17:56:49* 160 | 161 | GitLab API v4 *16:27:04* 162 | 163 | isJira isGitHub... *06:05:00* 164 | 165 | doc *07:22:54* 166 | 167 | using latest version in example *09:02:58* 168 | 169 | git-changelog-lib 1.82 *07:20:10* 170 | 171 | Doc *12:31:47* 172 | 173 | Description available for Jira issues *12:10:36* 174 | 175 | Adjusting to Bintray *12:10:26* 176 | 177 | Doc *12:39:39* 178 | 179 | Disabling integrations if not used *12:35:27* 180 | 181 | Doc *17:18:14* 182 | 183 | Avoiding usage of Guava Objects *17:14:15* 184 | 185 | Doc *11:23:02* 186 | 187 | doc *18:31:19* 188 | 189 | Lib 1.71 *18:27:12* 190 | 191 | doc *20:02:45* 192 | 193 | Lib 1.70 *19:43:57* 194 | 195 | doc *19:50:09* 196 | 197 | doc *16:19:24* 198 | 199 | doc *14:47:09* 200 | 201 | doc *09:24:18* 202 | 203 | tag time added to tag model *09:20:14* 204 | 205 | doc *05:10:01* 206 | 207 | GitLab integration *05:07:07* 208 | 209 | doc *18:43:51* 210 | 211 | doc *18:27:20* 212 | 213 | Fix Jira labels *18:20:36* 214 | 215 | doc *09:35:54* 216 | 217 | Git Changelog Lib 1.58 -> 1.64 218 | 219 | * Jira issueType and labels 220 | * GitHub labels 221 | * 10 seconds timeout to GitHub *09:33:32* 222 | 223 | Set theme jekyll-theme-slate *20:20:13* 224 | 225 | doc *10:33:53* 226 | 227 | Adding annotation to context of tag *10:27:44* 228 | 229 | doc *19:30:09* 230 | 231 | Adding merge boolean to commits *18:41:43* 232 | 233 | doc *14:40:21* 234 | 235 | Correcting version *14:37:02* 236 | 237 | 238 | 239 | ## 0 240 | ### GitHub 241 | Using lib 1.17 #1 *07:40:52* 242 | 243 | 244 | ### GitHub 245 | Storing settings on each task #3 246 | 247 | * Also using lib 1.23 *12:14:15* 248 | 249 | 250 | ### GitHub 251 | Support GitHub OAuth2 token #4 *20:56:29* 252 | 253 | 254 | ### GitHub 255 | Added variables: messageTitle, messageBody, messageItems #5 *19:33:06* 256 | 257 | 258 | ### Jira 259 | JENKINS-34155 Support short SHA *16:56:23* 260 | 261 | 262 | ### These commits have not issue in their commit comment 263 | Lib 1.56 correcting link to Jira *14:33:12* 264 | 265 | Doc *18:29:21* 266 | 267 | Adding {{hashFull}} variable *18:27:12* 268 | 269 | doc *00:20:39* 270 | 271 | Faster *00:05:41* 272 | 273 | doc *21:19:09* 274 | 275 | Fixing merge commits... again... *21:17:20* 276 | 277 | doc *09:34:04* 278 | 279 | Including commits from merges lib issue 49 *09:32:25* 280 | 281 | Lib 1.49, finding first commit as parents from HEAD *18:28:34* 282 | 283 | Lib 1.49, finding first commit as parents from HEAD *18:23:12* 284 | 285 | doc *19:16:48* 286 | 287 | Ignoring trailing slash in JIRA URL *19:15:04* 288 | 289 | doc *18:47:25* 290 | 291 | Lib 1.45 *18:45:12* 292 | 293 | Lib 1.45 *18:44:42* 294 | 295 | doc *16:58:44* 296 | 297 | doc *16:57:43* 298 | 299 | doc *09:15:03* 300 | 301 | Lib 1.43, Parsing commits, oldest first *09:13:22* 302 | 303 | Lib 1.42, Parsing commits, oldest first *09:03:30* 304 | 305 | Updating doc *20:41:52* 306 | 307 | Lib 1.41, Commits added to correct tags *20:40:35* 308 | 309 | Updating example *19:08:48* 310 | 311 | Lib 1.40 can ignore tags by regexp *19:06:38* 312 | 313 | Updating example *09:55:38* 314 | 315 | Lib 1.39 *09:53:14* 316 | 317 | Updating example *09:04:27* 318 | 319 | Lib 1.38 *09:01:00* 320 | 321 | Updating README *16:21:01* 322 | 323 | Jira integration to get titles *16:19:08* 324 | 325 | Update example *21:09:38* 326 | 327 | Updating release and publish plugins *21:07:59* 328 | 329 | Updating CHANGELOG.md *10:47:04* 330 | 331 | Supplying commit in each issue mentioned in message *08:44:05* 332 | 333 | Lib 1.30, supporting multiple tags on same commit *18:15:17* 334 | 335 | Lib 1.30, supporting multiple tags on same commit *18:12:32* 336 | 337 | Lib 1.29 *18:02:39* 338 | 339 | Significant performance improvements 340 | 341 | * Using lib 1.27. *09:03:51* 342 | 343 | Updating README.md *18:21:28* 344 | 345 | Git changelog lib 1.25 346 | 347 | * Also updating README.md and changelog tempalte. *18:19:01* 348 | 349 | Updating CHANGELOG.md after release *19:35:00* 350 | 351 | Updating CHANGELOG.md after release *18:07:00* 352 | 353 | Allowing custom issues not to include link 354 | 355 | * Adding example with issues like I123 *18:04:49* 356 | 357 | Updating README.md after release *21:23:20* 358 | 359 | Maven Central version badge in README.md *21:14:53* 360 | 361 | Updating README.md after release *19:16:50* 362 | 363 | Implementing custom issues 364 | * Adding example with 365 | * QC matching QC1234 366 | * Incident matching INC1234 *18:25:09* 367 | 368 | Using readable tag name to extract version in mixed *12:21:24* 369 | 370 | Updating README.md after release *12:18:06* 371 | 372 | lib 1.13 *11:15:10* 373 | 374 | Documentation and lib 1.22 *09:30:35* 375 | 376 | doc *22:58:53* 377 | 378 | 379 | 380 | ## 1.9 381 | ### GitHub 382 | Using lib 1.15 #1 *22:17:54* 383 | 384 | 385 | 386 | ## 1.8 387 | ### These commits have not issue in their commit comment 388 | using lib 1.14 *21:45:40* 389 | 390 | doc *22:11:49* 391 | 392 | 393 | 394 | ## 1.7 395 | ### GitHub 396 | using lib 1.13 #1 *22:09:40* 397 | 398 | 399 | ### These commits have not issue in their commit comment 400 | doc *18:14:55* 401 | 402 | 403 | 404 | ## 1.6 405 | ### GitHub 406 | Using lib 1.12 #1 *18:11:30* 407 | 408 | 409 | ### These commits have not issue in their commit comment 410 | doc *14:32:43* 411 | 412 | 413 | 414 | ## 1.5 415 | ### These commits have not issue in their commit comment 416 | lib 1.10 *14:31:35* 417 | 418 | 419 | 420 | ## 1.4 421 | ### These commits have not issue in their commit comment 422 | lib 1.9 #feature *22:10:47* 423 | 424 | Updating version in example *19:45:38* 425 | 426 | 427 | 428 | ## 1.3 429 | ### These commits have not issue in their commit comment 430 | lib 1.3 *19:43:32* 431 | 432 | Using 1.3-SNAPSHOT in example *20:06:50* 433 | 434 | 435 | 436 | ## 1.2 437 | ### These commits have not issue in their commit comment 438 | MediaWiki support, using lib 1.2 #feature *19:59:29* 439 | 440 | Updating example plugin to use 1.2 snapshot *17:44:10* 441 | 442 | 443 | 444 | ## 1.1 445 | ### These commits have not issue in their commit comment 446 | Adding plugin plugin *17:29:30* 447 | 448 | doc *13:12:46* 449 | 450 | 451 | 452 | ## 1.0 453 | ### These commits have not issue in their commit comment 454 | More work for 1.0 *13:01:25* 455 | 456 | Initial *20:15:20* 457 | 458 | 459 | 460 | -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example/build.gradle: -------------------------------------------------------------------------------- 1 | import se.bjurr.gitchangelog.api.InclusivenessStrategy 2 | 3 | apply plugin: 'java' 4 | 5 | buildscript { 6 | repositories { 7 | mavenLocal() 8 | mavenCentral() 9 | } 10 | 11 | dependencies { 12 | classpath "se.bjurr.gitchangelog:git-changelog-gradle-plugin:latest-SNAPSHOT" 13 | } 14 | } 15 | 16 | apply plugin: 'se.bjurr.gitchangelog.git-changelog-gradle-plugin' 17 | 18 | // Optional config if you want to configure the changelog 19 | task gitChangelogTask(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) { 20 | templateContent.set(""" 21 | // Template here! 22 | """); 23 | } 24 | 25 | // Optional config if you want to configure versioning 26 | task gitChangelogVersionTask(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogSemanticVersionTask) { 27 | suffixSnapshot.set(true); 28 | majorVersionPattern.set("^[Bb]reaking") 29 | minorVersionPattern.set("[Ff]eature") 30 | patchVersionPattern.set("[Ff]ix") 31 | } 32 | 33 | // 34 | // Set references to create releasenotes for version 1.1 35 | // 36 | task generateGitReleasenotes11RepoPath(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) { 37 | file.set(new File("whatever/CHANGELOG_1_0_1_1_repo_path.md")); 38 | prependToFile.set(false); // false will replace the file, true will prepend content 39 | fromRevision.set("1.0"); 40 | fromRevisionStrategy.set(InclusivenessStrategy.DEFAULT) 41 | toRevision.set("1.1"); 42 | toRevisionStrategy.set(InclusivenessStrategy.DEFAULT) 43 | templateContent.set(""" 44 | # Releasenotes in 1.1 45 | 46 | Releasenotes. 47 | 48 | {{#issues}} 49 | {{#hasLink}} 50 | ## {{name}} [{{issue}}]({{link}}) {{title}} 51 | {{/hasLink}} 52 | {{^hasLink}} 53 | ## {{name}} 54 | {{/hasLink}} 55 | {{#commits}} 56 | {{{hash}}} 57 | {{{message}}} 58 | 59 | {{/commits}} 60 | 61 | {{/issues}} 62 | """); 63 | } 64 | 65 | // 66 | // Settings file 67 | // 68 | //task generateGitChangelogSettings(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) { 69 | // settingsFile.set(new File("changelog.json").getAbsolutePath()); 70 | // file.set(new File("CHANGELOG_settings.md")); 71 | //} 72 | 73 | // 74 | // MediaWiki page 75 | // 76 | //task generateGitChangelogMediaWiki(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) { 77 | // mediaWikiUrl.set("http://localhost/mediawiki/"); 78 | // mediaWikiTitle.set("Tomas Title"); 79 | // mediaWikiUsername.set("tomas"); 80 | // mediaWikiPassword.set("tomaskod"); 81 | //} 82 | 83 | // 84 | // Template configured inline 85 | // 86 | task generateGitChangelogInlineTemplate(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) { 87 | file.set(new File("CHANGELOG_inline.md")); 88 | templateContent.set(""" 89 | # Git Changelog Maven plugin changelog 90 | 91 | Changelog of Git Changelog Maven plugin. 92 | 93 | {{#tags}} 94 | ## {{name}} 95 | {{#issues}} 96 | {{#hasLink}} 97 | ### {{name}} [{{issue}}]({{link}}) {{title}} 98 | {{/hasLink}} 99 | {{^hasLink}} 100 | ### {{name}} 101 | {{/hasLink}} 102 | 103 | {{#commits}} 104 | [{{hash}}](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/{{hash}}) {{authorName}} *{{commitTime}}* 105 | 106 | {{{message}}} 107 | 108 | {{/commits}} 109 | 110 | {{/issues}} 111 | {{/tags}} 112 | """); 113 | } 114 | 115 | // 116 | // Partials 117 | // 118 | task generateGitChangelogWithPartials(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) { 119 | file.set(new File("CHANGELOG_partials.md")); 120 | templateBaseDir.set(new File(".").absolutePath) 121 | templateSuffix.set(".partial") 122 | templateContent.set(""" 123 | # Git Changelog Maven plugin changelog 124 | 125 | Changelog of Git Changelog Maven plugin. 126 | 127 | {{#tags}} 128 | ## {{name}} 129 | {{#issues}} 130 | {{#hasLink}} 131 | {{>changelog_linkedIssue}} 132 | {{/hasLink}} 133 | {{^hasLink}} 134 | ### {{name}} 135 | {{/hasLink}} 136 | 137 | {{#commits}} 138 | [{{hash}}](https://github.com/tomasbjerre/git-changelog-maven-plugin/commit/{{hash}}) {{authorName}} *{{commitTime}}* 139 | 140 | {{{message}}} 141 | 142 | {{/commits}} 143 | 144 | {{/issues}} 145 | {{/tags}} 146 | """); 147 | } 148 | 149 | // 150 | // Template from file 151 | // 152 | task generateGitChangelogTemplateFromnewFile(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) { 153 | file.set(new File("CHANGELOG_file.md")); 154 | templateContent.set(new File('changelog.mustache').getText('UTF-8')); 155 | } 156 | 157 | // 158 | // Template from file and GitHub token 159 | // 160 | task generateGitChangelogTemplateWithGitHubIssues(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) { 161 | gitHubApi.set("https://api.github.com/repos/tomasbjerre/git-changelog-gradle-plugin"); 162 | gitHubToken.set(System.properties['GITHUB_OAUTH2TOKEN']); 163 | gitHubIssuePattern.set("#([0-9]*)"); 164 | gitHubEnabled.set(true); 165 | file.set(new File("CHANGELOG.md")); 166 | templateContent.set(new File('changelog.mustache').getText('UTF-8')); 167 | } 168 | 169 | // 170 | // Template from file and GitLab token 171 | // 172 | //task generateGitChangelogTemplateWithGitLabIssues(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) { 173 | // gitLabServer.set("https://gitlab.com/"); 174 | // gitLabProjectName.set("tomas.bjerre85/violations-test"); 175 | // gitLabToken.set(System.properties['GITLAB_TOKEN']); 176 | // gitLabEnabled.set(true); 177 | // file.set(new File("CHANGELOG_GITLAB.md")); 178 | // templateContent.set(new File('changelog.mustache').getText('UTF-8')); 179 | //} 180 | 181 | // 182 | // Template from file and Jira login 183 | // 184 | //task generateGitChangelogTemplateFromFileAndJira(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) { 185 | // jiraEnabled.set(true); 186 | // jiraUsername.set(System.properties['JIRA_USERNAME']); 187 | // jiraPassword.set(System.properties['JIRA_PASSWORD']); 188 | // jiraIssuePattern.set("\\b[a-zA-Z]([a-zA-Z]+)-([0-9]+)\\b"); 189 | // jiraServer.set("https://yourJiraServer.com/jira"); 190 | // file.set(new File("CHANGELOG_jira.md")); 191 | // templateContent.set(new File('changelog.mustache').getText('UTF-8')); 192 | //} 193 | 194 | // 195 | // Set reference to create changelog for version 1.1 196 | // 197 | task generateGitChangelog11(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) { 198 | file.set(new File("CHANGELOG_1_1.md")); 199 | toRevision.set("1.1"); 200 | templateContent.set(""" 201 | {{#issues}} 202 | {{#commits}} 203 | {{{hash}}} 204 | {{/commits}} 205 | {{/issues}} 206 | """); 207 | } 208 | 209 | // 210 | // Set references to create releasenotes for version 1.1 211 | // 212 | task generateGitReleasenotes11(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) { 213 | file.set(new File("CHANGELOG_1_0_1_1.md")); 214 | fromRevision.set("1.0"); 215 | toRevision.set("1.1"); 216 | templateContent.set(""" 217 | # Releasenotes in 1.1 218 | 219 | Releasenotes. 220 | 221 | {{#issues}} 222 | {{#hasLink}} 223 | ## {{name}} [{{issue}}]({{link}}) {{title}} 224 | {{/hasLink}} 225 | {{^hasLink}} 226 | ## {{name}} 227 | {{/hasLink}} 228 | {{#commits}} 229 | {{{hash}}} 230 | {{{message}}} 231 | 232 | {{/commits}} 233 | 234 | {{/issues}} 235 | """); 236 | } 237 | 238 | // 239 | // Set commits to view changes between them. You may use properties 240 | // for the from and to commit to inject hashes from command line. 241 | // 242 | task generateGitChangelogCommits(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) { 243 | file.set(new File("CHANGELOG_commits.md")); 244 | fromRevision.set("d5657ba4353bff4c8924981d4da4aacfcbd9bd54"); 245 | toRevision.set("3568f412a65a16d1848d8d5316a7cb30261cf271"); 246 | templateContent.set(""" 247 | # Releasenotes in 1.1 248 | 249 | Releasenotes. 250 | 251 | {{#issues}} 252 | {{#hasLink}} 253 | ## {{name}} [{{issue}}]({{link}}) {{title}} 254 | {{/hasLink}} 255 | {{^hasLink}} 256 | ## {{name}} 257 | {{/hasLink}} 258 | {{#commits}} 259 | {{{hash}}} 260 | {{{message}}} 261 | 262 | {{/commits}} 263 | 264 | {{/issues}} 265 | """); 266 | } 267 | 268 | // 269 | // Mixed features 270 | // 271 | task generateGitChangelogMixed(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) { 272 | readableTagName.set(".*/([^/]*)"); 273 | dateFormat.set("HH:mm:ss"); 274 | timeZone.set("UTC"); 275 | removeIssueFromMessage.set(false); 276 | ignoreCommitsIfMessageMatches.set(".*Gradle.*"); 277 | ignoreTagsIfNameMatches.set(".*[0-9]{2}\$"); 278 | untaggedName.set("These commits are not included in any tag"); 279 | noIssueName.set("These commits have not issue in their commit comment"); 280 | file.set(new File("CHANGELOG_mixed.md")); 281 | templateContent.set(""" 282 | # Git Changelog Maven plugin changelog 283 | 284 | Changelog of Git Changelog Maven plugin. 285 | 286 | {{#tags}} 287 | ## {{name}} 288 | {{#issues}} 289 | ### {{name}} 290 | {{#commits}} 291 | {{{message}}} *{{commitTime}}* 292 | 293 | {{/commits}} 294 | 295 | {{/issues}} 296 | 297 | {{/tags}} 298 | """); 299 | } 300 | 301 | // 302 | // Mixed features 303 | // 304 | task generateGitChangelogIgnoreCommitsWithoutIssue(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) { 305 | // If a commit cannot be mapped to a configured issue, it will not 306 | // be included if set to true. If set to true, noIssueName has no effect. 307 | ignoreCommitsWithoutIssue.set(true); 308 | customIssue() 309 | .setName("Incident") 310 | .setPattern("INC[0-9]*") 311 | .setLink("http://inc/\${PATTERN_GROUP}") 312 | .setTitle("\${PATTERN_GROUP}") 313 | file.set(new File("CHANGELOG_ignoreCommitsWithoutIssue.md")); 314 | templateContent.set(""" 315 | # Git Changelog 316 | 317 | Changelog of Git Changelog. 318 | 319 | {{#tags}} 320 | ## {{name}} 321 | {{#issues}} 322 | ### {{name}} 323 | {{#commits}} 324 | {{{message}}} *{{commitTime}}* 325 | 326 | {{/commits}} 327 | 328 | {{/issues}} 329 | 330 | {{/tags}} 331 | """); 332 | } 333 | 334 | // 335 | // Ignore old commits 336 | // 337 | task generateGitChangelogIgnoreCommitsOlderThan(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) { 338 | ignoreCommitsOlderThan.set(Date.parse("yyyy-MM-dd hh:mm:ss", "2017-05-20 00:00:00")); 339 | file.set(new File("CHANGELOG_ignoreCommitsOlderThan.md")); 340 | templateContent.set(""" 341 | # Git Changelog 342 | 343 | Changelog of Git Changelog. 344 | 345 | {{#tags}} 346 | ## {{name}} 347 | {{#issues}} 348 | ### {{name}} 349 | {{#commits}} 350 | {{{message}}} *{{commitTime}}* 351 | 352 | {{/commits}} 353 | 354 | {{/issues}} 355 | 356 | {{/tags}} 357 | """); 358 | } 359 | 360 | // 361 | // Custom issues 362 | // 363 | task generateGitChangelogCustomIssues(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) { 364 | file.set(new File("CHANGELOG_custom.md")); 365 | customIssue() 366 | .setName("Incident") 367 | .setPattern("INC[0-9]*") 368 | .setLink("http://inc/\${PATTERN_GROUP}") 369 | .setTitle("\${PATTERN_GROUP}") 370 | customIssue() 371 | .setName("QC") 372 | .setPattern("QC([0-9]+)") 373 | .setTitle("\${PATTERN_GROUP}") 374 | templateContent.set(""" 375 | # Git Changelog Maven plugin changelog 376 | 377 | Changelog of Git Changelog Maven plugin. 378 | 379 | {{#tags}} 380 | ## {{name}} 381 | {{#issues}} 382 | {{#hasLink}} 383 | ### {{name}} [{{issue}}]({{link}}) {{title}} 384 | {{/hasLink}} 385 | {{^hasLink}} 386 | ### {{name}} 387 | {{/hasLink}} 388 | {{#commits}} 389 | {{{message}}} 390 | 391 | {{/commits}} 392 | 393 | {{/issues}} 394 | 395 | {{/tags}} 396 | """); 397 | } 398 | 399 | tasks.register("generateChangelogs") { 400 | doLast { } 401 | } 402 | 403 | generateChangelogs.dependsOn { 404 | tasks.findAll { task -> task.name.startsWith('generateGit') } 405 | } 406 | 407 | sourceSets { 408 | main.java.srcDirs = ['src/main/java'] 409 | } 410 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "{}" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright {yyyy} {name of copyright owner} 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | 203 | -------------------------------------------------------------------------------- /git-changelog-gradle-plugin-example/CHANGELOG_custom.md: -------------------------------------------------------------------------------- 1 | 2 | # Git Changelog Maven plugin changelog 3 | 4 | Changelog of Git Changelog Maven plugin. 5 | 6 | ## 1.71.3 7 | ### No issue 8 | chore(release): 1.71.3 [GRADLE SCRIPT] 9 | 10 | 11 | 12 | ## 1.71.2 13 | ### No issue 14 | chore(release): 1.71.2 [GRADLE SCRIPT] 15 | 16 | 17 | 18 | ## 1.71.1 19 | ### No issue 20 | chore(release): 1.71.1 [GRADLE SCRIPT] 21 | 22 | chore(release): Updating changelog with 1.71.0 [GRADLE SCRIPT] 23 | 24 | 25 | 26 | ## 1.71.0 27 | ### No issue 28 | chore(release): 1.71.0 [GRADLE SCRIPT] 29 | 30 | fix: when file was in a new folder, it created folder 31 | 32 | chore(release): Updating changelog with 1.70.0 [GRADLE SCRIPT] 33 | 34 | 35 | 36 | ## 1.70.0 37 | ### No issue 38 | chore(release): 1.70.0 [GRADLE SCRIPT] 39 | 40 | chore(release): Updating changelog with 1.69.0 [GRADLE SCRIPT] 41 | 42 | 43 | 44 | ## 1.69.0 45 | ### No issue 46 | chore(release): 1.69.0 [GRADLE SCRIPT] 47 | 48 | 49 | 50 | ## 1.68.6 51 | ### No issue 52 | chore(release): 1.68.6 [GRADLE SCRIPT] 53 | 54 | 55 | 56 | ## 1.68.5 57 | ### No issue 58 | chore(release): 1.68.5 [GRADLE SCRIPT] 59 | 60 | fix: temporary removing plugins not working with Gradle 7 61 | 62 | chore(release): Updating changelog with 1.68.4 [GRADLE SCRIPT] 63 | 64 | 65 | 66 | ## 1.68.4 67 | ### No issue 68 | chore(release): 1.68.4 [GRADLE SCRIPT] 69 | 70 | chore(release): Updating changelog with 1.68.3 [GRADLE SCRIPT] 71 | 72 | 73 | 74 | ## 1.68.3 75 | ### No issue 76 | chore(release): 1.68.3 [GRADLE SCRIPT] 77 | 78 | chore(release): Updating changelog with 1.68.2 [GRADLE SCRIPT] 79 | 80 | 81 | 82 | ## 1.68.2 83 | ### No issue 84 | chore(release): 1.68.2 [GRADLE SCRIPT] 85 | 86 | chore: removing usage of Guava 87 | 88 | 89 | 90 | ## 1.68.1 91 | ### No issue 92 | New version: 1.68.1 [GRADLE SCRIPT] 93 | 94 | Updating changelog with 1.68.0 [GRADLE SCRIPT] 95 | 96 | 97 | 98 | ## 1.68.0 99 | ### No issue 100 | New version: 1.68.0 [GRADLE SCRIPT] 101 | 102 | feat: support conventional commits 103 | 104 | new build script 105 | 106 | [Gradle Release Plugin] - new version commit: '1.67-SNAPSHOT'. 107 | 108 | 109 | 110 | ## 1.66 111 | ### Jira 112 | pretty printing output JENKINS-65252 113 | 114 | 115 | ### No issue 116 | [Gradle Release Plugin] - pre tag commit: '1.66'. 117 | 118 | [Gradle Release Plugin] - new version commit: '1.66-SNAPSHOT'. 119 | 120 | 121 | 122 | ## 1.65 123 | ### GitHub [#19](https://github.com/tomasbjerre/git-changelog-gradle-plugin/pull/19) Update README to use Plugin DSL 124 | Merge pull request #19 from ccrvincent/ccrvincent/updateReadme 125 | 126 | Update README to use Plugin DSL 127 | 128 | 129 | ### No issue 130 | [Gradle Release Plugin] - pre tag commit: '1.65'. 131 | 132 | Removing default ignore filter on message 133 | 134 | doc 135 | 136 | Create FUNDING.yml 137 | 138 | Update README to use Plugin DSL 139 | 140 | [Gradle Release Plugin] - new version commit: '1.65-SNAPSHOT'. 141 | 142 | 143 | 144 | ## 1.64 145 | ### GitHub [#17](https://github.com/tomasbjerre/git-changelog-gradle-plugin/pull/17) Set fromRepo property only if provided and after read settings file. 146 | Merge pull request #17 from mdolinin/feature/provide-ability-to-override-repo-property-from-gradle 147 | 148 | Set fromRepo property only if provided and after read settings file. 149 | 150 | 151 | ### No issue 152 | [Gradle Release Plugin] - pre tag commit: '1.64'. 153 | 154 | Update .travis.yml 155 | 156 | Set fromRepo property only if provided and after read settings file. 157 | This will provide ability to override path to git repo from gradle script. 158 | 159 | [Gradle Release Plugin] - new version commit: '1.64-SNAPSHOT'. 160 | 161 | 162 | 163 | ## 1.63 164 | ### No issue 165 | [Gradle Release Plugin] - pre tag commit: '1.63'. 166 | 167 | Removing dependency on javax.xml 168 | 169 | [Gradle Release Plugin] - new version commit: '1.63-SNAPSHOT'. 170 | 171 | 172 | 173 | ## 1.62 174 | ### No issue 175 | [Gradle Release Plugin] - pre tag commit: '1.62'. 176 | 177 | JDK 11 compatible 178 | 179 | Updating tests 180 | 181 | [Gradle Release Plugin] - new version commit: '1.62-SNAPSHOT'. 182 | 183 | 184 | 185 | ## 1.61 186 | ### No issue 187 | [Gradle Release Plugin] - pre tag commit: '1.61'. 188 | 189 | Gradle 5 190 | 191 | [Gradle Release Plugin] - new version commit: '1.61-SNAPSHOT'. 192 | 193 | 194 | 195 | ## 1.60 196 | ### No issue 197 | [Gradle Release Plugin] - pre tag commit: '1.60'. 198 | 199 | Jira linked issues 200 | 201 | [Gradle Release Plugin] - new version commit: '1.60-SNAPSHOT'. 202 | 203 | 204 | 205 | ## 1.59 206 | ### No issue 207 | [Gradle Release Plugin] - pre tag commit: '1.59'. 208 | 209 | Correcting GitLab integration after upgrade 210 | 211 | [Gradle Release Plugin] - new version commit: '1.59-SNAPSHOT'. 212 | 213 | 214 | 215 | ## 1.58 216 | ### No issue 217 | [Gradle Release Plugin] - pre tag commit: '1.58'. 218 | 219 | GitLab API v4 220 | 221 | [Gradle Release Plugin] - new version commit: '1.58-SNAPSHOT'. 222 | 223 | 224 | 225 | ## 1.57 226 | ### No issue 227 | [Gradle Release Plugin] - pre tag commit: '1.57'. 228 | 229 | isJira isGitHub... 230 | 231 | doc 232 | 233 | using latest version in example 234 | 235 | [Gradle Release Plugin] - new version commit: '1.57-SNAPSHOT'. 236 | 237 | 238 | 239 | ## 1.56 240 | ### No issue 241 | [Gradle Release Plugin] - pre tag commit: '1.56'. 242 | 243 | git-changelog-lib 1.82 244 | 245 | [Gradle Release Plugin] - new version commit: '1.56-SNAPSHOT'. 246 | 247 | 248 | 249 | ## 1.55 250 | ### Jira 251 | Closing RevWalk JENKINS-19994 252 | 253 | 254 | ### No issue 255 | [Gradle Release Plugin] - pre tag commit: '1.55'. 256 | 257 | Doc 258 | 259 | [Gradle Release Plugin] - new version commit: '1.55-SNAPSHOT'. 260 | 261 | 262 | 263 | ## 1.54 264 | ### No issue 265 | [Gradle Release Plugin] - pre tag commit: '1.54'. 266 | 267 | Description available for Jira issues 268 | 269 | Adjusting to Bintray 270 | 271 | Doc 272 | 273 | [Gradle Release Plugin] - new version commit: '1.54-SNAPSHOT'. 274 | 275 | 276 | 277 | ## 1.53 278 | ### No issue 279 | [Gradle Release Plugin] - pre tag commit: '1.53'. 280 | 281 | Disabling integrations if not used 282 | 283 | Doc 284 | 285 | [Gradle Release Plugin] - new version commit: '1.53-SNAPSHOT'. 286 | 287 | 288 | 289 | ## 1.52 290 | ### No issue 291 | [Gradle Release Plugin] - pre tag commit: '1.52'. 292 | 293 | Avoiding usage of Guava Objects 294 | 295 | Doc 296 | 297 | [Gradle Release Plugin] - new version commit: '1.52-SNAPSHOT'. 298 | 299 | 300 | 301 | ## 1.51 302 | ### No issue 303 | [Gradle Release Plugin] - pre tag commit: '1.51'. 304 | 305 | Gradle publish plugin 0.9.9 306 | 307 | doc 308 | 309 | [Gradle Release Plugin] - new version commit: '1.51-SNAPSHOT'. 310 | 311 | 312 | 313 | ## 1.50 314 | ### No issue 315 | [Gradle Release Plugin] - pre tag commit: '1.50'. 316 | 317 | Lib 1.71 318 | 319 | doc 320 | 321 | [Gradle Release Plugin] - new version commit: '1.50-SNAPSHOT'. 322 | 323 | 324 | 325 | ## 1.49 326 | ### No issue 327 | [Gradle Release Plugin] - pre tag commit: '1.49'. 328 | 329 | Lib 1.70 330 | 331 | doc 332 | 333 | [Gradle Release Plugin] - new version commit: '1.49-SNAPSHOT'. 334 | 335 | 336 | 337 | ## 1.48 338 | ### GitHub [#9](https://github.com/tomasbjerre/git-changelog-gradle-plugin/pull/9) Support for tomasbjerre/git-changelog-lib#47 339 | Ignore commits older than #9 340 | 341 | 342 | ### No issue 343 | [Gradle Release Plugin] - pre tag commit: '1.48'. 344 | 345 | doc 346 | 347 | [Gradle Release Plugin] - new version commit: '1.48-SNAPSHOT'. 348 | 349 | 350 | 351 | ## 1.47 352 | ### GitHub [#7](https://github.com/tomasbjerre/git-changelog-gradle-plugin/issues/7) Relative paths for files aren't always right.. 353 | Better handling of relative paths #7 354 | 355 | 356 | ### No issue 357 | [Gradle Release Plugin] - pre tag commit: '1.47'. 358 | 359 | doc 360 | 361 | [Gradle Release Plugin] - new version commit: '1.47-SNAPSHOT'. 362 | 363 | 364 | 365 | ## 1.46 366 | ### GitHub [#7](https://github.com/tomasbjerre/git-changelog-gradle-plugin/issues/7) Relative paths for files aren't always right.. 367 | Using file(..) instead of new File(..) in examples #7 368 | 369 | 370 | ### GitHub [#8](https://github.com/tomasbjerre/git-changelog-gradle-plugin/issues/8) fromRepo not exposed 371 | Adding fromRepo attribute #8 372 | 373 | 374 | ### No issue 375 | [Gradle Release Plugin] - pre tag commit: '1.46'. 376 | 377 | doc 378 | 379 | [Gradle Release Plugin] - new version commit: '1.46-SNAPSHOT'. 380 | 381 | 382 | 383 | ## 1.45 384 | ### No issue 385 | [Gradle Release Plugin] - pre tag commit: '1.45'. 386 | 387 | tag time added to tag model 388 | 389 | doc 390 | 391 | [Gradle Release Plugin] - new version commit: '1.45-SNAPSHOT'. 392 | 393 | 394 | 395 | ## 1.44 396 | ### No issue 397 | [Gradle Release Plugin] - pre tag commit: '1.44'. 398 | 399 | GitLab integration 400 | 401 | doc 402 | 403 | [Gradle Release Plugin] - new version commit: '1.44-SNAPSHOT'. 404 | 405 | 406 | 407 | ## 1.43 408 | ### No issue 409 | [Gradle Release Plugin] - pre tag commit: '1.43'. 410 | 411 | doc 412 | 413 | [Gradle Release Plugin] - new version commit: '1.43-SNAPSHOT'. 414 | 415 | 416 | 417 | ## 1.42 418 | ### No issue 419 | [Gradle Release Plugin] - pre tag commit: '1.42'. 420 | 421 | Fix Jira labels 422 | 423 | doc 424 | 425 | [Gradle Release Plugin] - new version commit: '1.42-SNAPSHOT'. 426 | 427 | 428 | 429 | ## 1.41 430 | ### No issue 431 | [Gradle Release Plugin] - pre tag commit: '1.41'. 432 | 433 | Git Changelog Lib 1.58 -> 1.64 434 | 435 | * Jira issueType and labels 436 | * GitHub labels 437 | * 10 seconds timeout to GitHub 438 | 439 | Set theme jekyll-theme-slate 440 | 441 | doc 442 | 443 | [Gradle Release Plugin] - new version commit: '1.41-SNAPSHOT'. 444 | 445 | 446 | 447 | ## 1.40 448 | ### No issue 449 | [Gradle Release Plugin] - pre tag commit: '1.40'. 450 | 451 | Adding annotation to context of tag 452 | 453 | doc 454 | 455 | [Gradle Release Plugin] - new version commit: '1.40-SNAPSHOT'. 456 | 457 | 458 | 459 | ## 1.39 460 | ### No issue 461 | [Gradle Release Plugin] - pre tag commit: '1.39'. 462 | 463 | Adding merge boolean to commits 464 | 465 | doc 466 | 467 | [Gradle Release Plugin] - new version commit: '1.39-SNAPSHOT'. 468 | 469 | 470 | 471 | ## 1.38 472 | ### No issue 473 | [Gradle Release Plugin] - pre tag commit: '1.38'. 474 | 475 | Correcting version 476 | 477 | [Gradle Release Plugin] - new version commit: '1-SNAPSHOT'. 478 | 479 | 480 | 481 | ## 0 482 | ### No issue 483 | [Gradle Release Plugin] - pre tag commit: '0'. 484 | 485 | Lib 1.56 correcting link to Jira 486 | 487 | Doc 488 | 489 | [Gradle Release Plugin] - new version commit: '1.38-SNAPSHOT'. 490 | 491 | 492 | 493 | ## 1.37 494 | ### No issue 495 | [Gradle Release Plugin] - pre tag commit: '1.37'. 496 | 497 | Adding {{hashFull}} variable 498 | 499 | doc 500 | 501 | [Gradle Release Plugin] - new version commit: '1.37-SNAPSHOT'. 502 | 503 | 504 | 505 | ## 1.36 506 | ### No issue 507 | [Gradle Release Plugin] - pre tag commit: '1.36'. 508 | 509 | Faster 510 | 511 | doc 512 | 513 | [Gradle Release Plugin] - new version commit: '1.36-SNAPSHOT'. 514 | 515 | 516 | 517 | ## 1.35 518 | ### No issue 519 | [Gradle Release Plugin] - pre tag commit: '1.35'. 520 | 521 | Fixing merge commits... again... 522 | 523 | doc 524 | 525 | [Gradle Release Plugin] - new version commit: '1.35-SNAPSHOT'. 526 | 527 | 528 | 529 | ## 1.34 530 | ### No issue 531 | [Gradle Release Plugin] - pre tag commit: '1.34'. 532 | 533 | Including commits from merges lib issue 49 534 | 535 | Lib 1.49, finding first commit as parents from HEAD 536 | 537 | [Gradle Release Plugin] - new version commit: '1.34-SNAPSHOT'. 538 | 539 | 540 | 541 | ## 1.33 542 | ### No issue 543 | [Gradle Release Plugin] - pre tag commit: '1.33'. 544 | 545 | Lib 1.49, finding first commit as parents from HEAD 546 | 547 | doc 548 | 549 | [Gradle Release Plugin] - new version commit: '1.33-SNAPSHOT'. 550 | 551 | 552 | 553 | ## 1.32 554 | ### No issue 555 | [Gradle Release Plugin] - pre tag commit: '1.32'. 556 | 557 | Ignoring trailing slash in JIRA URL 558 | 559 | doc 560 | 561 | [Gradle Release Plugin] - new version commit: '1.32-SNAPSHOT'. 562 | 563 | 564 | 565 | ## 1.31 566 | ### No issue 567 | [Gradle Release Plugin] - pre tag commit: '1.31'. 568 | 569 | Lib 1.45 570 | 571 | Lib 1.45 572 | 573 | doc 574 | 575 | doc 576 | 577 | [Gradle Release Plugin] - new version commit: '1.31-SNAPSHOT'. 578 | 579 | 580 | 581 | ## 1.30 582 | ### Jira 583 | JENKINS-34155 Support short SHA 584 | 585 | 586 | ### No issue 587 | [Gradle Release Plugin] - pre tag commit: '1.30'. 588 | 589 | doc 590 | 591 | [Gradle Release Plugin] - new version commit: '1.30-SNAPSHOT'. 592 | 593 | 594 | 595 | ## 1.29 596 | ### No issue 597 | [Gradle Release Plugin] - pre tag commit: '1.29'. 598 | 599 | Lib 1.43, Parsing commits, oldest first 600 | 601 | [Gradle Release Plugin] - new version commit: '1.29-SNAPSHOT'. 602 | 603 | 604 | 605 | ## 1.28 606 | ### No issue 607 | [Gradle Release Plugin] - pre tag commit: '1.28'. 608 | 609 | Lib 1.42, Parsing commits, oldest first 610 | 611 | Updating doc 612 | 613 | [Gradle Release Plugin] - new version commit: '1.28-SNAPSHOT'. 614 | 615 | 616 | 617 | ## 1.27 618 | ### No issue 619 | [Gradle Release Plugin] - pre tag commit: '1.27'. 620 | 621 | Lib 1.41, Commits added to correct tags 622 | 623 | Updating example 624 | 625 | [Gradle Release Plugin] - new version commit: '1.27-SNAPSHOT'. 626 | 627 | 628 | 629 | ## 1.26 630 | ### No issue 631 | [Gradle Release Plugin] - pre tag commit: '1.26'. 632 | 633 | Lib 1.40 can ignore tags by regexp 634 | 635 | Updating example 636 | 637 | [Gradle Release Plugin] - new version commit: '1.26-SNAPSHOT'. 638 | 639 | 640 | 641 | ## 1.25 642 | ### No issue 643 | [Gradle Release Plugin] - pre tag commit: '1.25'. 644 | 645 | Lib 1.39 646 | 647 | Updating example 648 | 649 | [Gradle Release Plugin] - new version commit: '1.25-SNAPSHOT'. 650 | 651 | 652 | 653 | ## 1.24 654 | ### No issue 655 | [Gradle Release Plugin] - pre tag commit: '1.24'. 656 | 657 | Lib 1.38 658 | 659 | Updating README 660 | 661 | [Gradle Release Plugin] - new version commit: '1.24-SNAPSHOT'. 662 | 663 | 664 | 665 | ## 1.23 666 | ### No issue 667 | [Gradle Release Plugin] - pre tag commit: '1.23'. 668 | 669 | Jira integration to get titles 670 | 671 | Update example 672 | 673 | [Gradle Release Plugin] - new version commit: '1.23-SNAPSHOT'. 674 | 675 | 676 | 677 | ## 1.22 678 | ### GitHub [#4](https://github.com/tomasbjerre/git-changelog-gradle-plugin/issues/4) GitHub OAuth2 Token support 679 | Support GitHub OAuth2 token #4 680 | 681 | 682 | ### No issue 683 | [Gradle Release Plugin] - pre tag commit: '1.22'. 684 | 685 | Updating release and publish plugins 686 | 687 | Updating CHANGELOG.md 688 | 689 | [Gradle Release Plugin] - new version commit: '1.22-SNAPSHOT'. 690 | 691 | 692 | 693 | ## 1.21 694 | ### No issue 695 | [Gradle Release Plugin] - pre tag commit: '1.21'. 696 | 697 | Supplying commit in each issue mentioned in message 698 | 699 | Lib 1.30, supporting multiple tags on same commit 700 | 701 | [Gradle Release Plugin] - new version commit: '1.21-SNAPSHOT'. 702 | 703 | 704 | 705 | ## 1.20 706 | ### No issue 707 | [Gradle Release Plugin] - pre tag commit: '1.20'. 708 | 709 | Lib 1.30, supporting multiple tags on same commit 710 | 711 | [Gradle Release Plugin] - new version commit: '1.20-SNAPSHOT'. 712 | 713 | 714 | 715 | ## 1.19 716 | ### No issue 717 | [Gradle Release Plugin] - pre tag commit: '1.19'. 718 | 719 | Lib 1.29 720 | 721 | [Gradle Release Plugin] - new version commit: '1.19-SNAPSHOT'. 722 | 723 | 724 | 725 | ## 1.18 726 | ### No issue 727 | [Gradle Release Plugin] - pre tag commit: '1.18'. 728 | 729 | Significant performance improvements 730 | 731 | * Using lib 1.27. 732 | 733 | Updating README.md 734 | 735 | [Gradle Release Plugin] - new version commit: '1.18-SNAPSHOT'. 736 | 737 | 738 | 739 | ## 1.17 740 | ### No issue 741 | [Gradle Release Plugin] - pre tag commit: '1.17'. 742 | 743 | Git changelog lib 1.25 744 | 745 | * Also updating README.md and changelog tempalte. 746 | 747 | Updating CHANGELOG.md after release 748 | 749 | [Gradle Release Plugin] - new version commit: '1.17-SNAPSHOT'. 750 | 751 | 752 | 753 | ## 1.16 754 | ### GitHub [#5](https://github.com/tomasbjerre/git-changelog-gradle-plugin/issues/5) NoSuchMethodError when using github integration 755 | Added variables: messageTitle, messageBody, messageItems #5 756 | 757 | 758 | ### No issue 759 | [Gradle Release Plugin] - pre tag commit: '1.16'. 760 | 761 | Updating CHANGELOG.md after release 762 | 763 | [Gradle Release Plugin] - new version commit: '1.16-SNAPSHOT'. 764 | 765 | 766 | 767 | ## 1.15 768 | ### Issue 769 | Allowing custom issues not to include link 770 | 771 | * Adding example with issues like I123 772 | 773 | 774 | ### No issue 775 | [Gradle Release Plugin] - pre tag commit: '1.15'. 776 | 777 | Updating README.md after release 778 | 779 | [Gradle Release Plugin] - new version commit: '1.15-SNAPSHOT'. 780 | 781 | 782 | 783 | ## 1.14 784 | ### No issue 785 | [Gradle Release Plugin] - pre tag commit: '1.14'. 786 | 787 | Maven Central version badge in README.md 788 | 789 | Updating README.md after release 790 | 791 | [Gradle Release Plugin] - new version commit: '1.14-SNAPSHOT'. 792 | 793 | 794 | 795 | ## 1.13 796 | ### Incident [INC1234](http://inc/INC1234) INC1234 797 | Implementing custom issues 798 | * Adding example with 799 | * QC matching QC1234 800 | * Incident matching INC1234 801 | 802 | 803 | ### No issue 804 | [Gradle Release Plugin] - pre tag commit: '1.13'. 805 | 806 | Using readable tag name to extract version in mixed 807 | 808 | Updating README.md after release 809 | 810 | [Gradle Release Plugin] - new version commit: '1.13-SNAPSHOT'. 811 | 812 | 813 | ### QC 814 | Implementing custom issues 815 | * Adding example with 816 | * QC matching QC1234 817 | * Incident matching INC1234 818 | 819 | 820 | 821 | ## 1.12 822 | ### GitHub [#3](https://github.com/tomasbjerre/git-changelog-gradle-plugin/issues/3) Each task should have its own namespace 823 | Storing settings on each task #3 824 | 825 | * Also using lib 1.23 826 | 827 | 828 | ### No issue 829 | [Gradle Release Plugin] - pre tag commit: '1.12'. 830 | 831 | [Gradle Release Plugin] - new version commit: '1.12-SNAPSHOT'. 832 | 833 | 834 | 835 | ## 1.11 836 | ### No issue 837 | [Gradle Release Plugin] - pre tag commit: '1.11'. 838 | 839 | lib 1.13 840 | 841 | Documentation and lib 1.22 842 | 843 | [Gradle Release Plugin] - new version commit: '1.11-SNAPSHOT'. 844 | 845 | 846 | 847 | ## 1.10 848 | ### GitHub [#1](https://github.com/tomasbjerre/git-changelog-gradle-plugin/issues/1) Use latest lib 849 | Using lib 1.17 #1 850 | 851 | 852 | ### No issue 853 | [Gradle Release Plugin] - pre tag commit: '1.10'. 854 | 855 | doc 856 | 857 | [Gradle Release Plugin] - new version commit: '1.10-SNAPSHOT'. 858 | 859 | 860 | 861 | ## 1.9 862 | ### GitHub [#1](https://github.com/tomasbjerre/git-changelog-gradle-plugin/issues/1) Use latest lib 863 | Using lib 1.15 #1 864 | 865 | 866 | ### No issue 867 | [Gradle Release Plugin] - pre tag commit: '1.9'. 868 | 869 | [Gradle Release Plugin] - new version commit: '1.9-SNAPSHOT'. 870 | 871 | 872 | 873 | ## 1.8 874 | ### No issue 875 | [Gradle Release Plugin] - pre tag commit: '1.8'. 876 | 877 | using lib 1.14 878 | 879 | doc 880 | 881 | [Gradle Release Plugin] - new version commit: '1.8-SNAPSHOT'. 882 | 883 | 884 | 885 | ## 1.7 886 | ### GitHub [#1](https://github.com/tomasbjerre/git-changelog-gradle-plugin/issues/1) Use latest lib 887 | using lib 1.13 #1 888 | 889 | 890 | ### No issue 891 | [Gradle Release Plugin] - pre tag commit: '1.7'. 892 | 893 | doc 894 | 895 | [Gradle Release Plugin] - new version commit: '1.7-SNAPSHOT'. 896 | 897 | 898 | 899 | ## 1.6 900 | ### GitHub [#1](https://github.com/tomasbjerre/git-changelog-gradle-plugin/issues/1) Use latest lib 901 | Using lib 1.12 #1 902 | 903 | 904 | ### No issue 905 | [Gradle Release Plugin] - pre tag commit: '1.6'. 906 | 907 | doc 908 | 909 | [Gradle Release Plugin] - new version commit: '1.6-SNAPSHOT'. 910 | 911 | 912 | 913 | ## 1.5 914 | ### No issue 915 | [Gradle Release Plugin] - pre tag commit: '1.5'. 916 | 917 | lib 1.10 918 | 919 | [Gradle Release Plugin] - new version commit: '1.5-SNAPSHOT'. 920 | 921 | 922 | 923 | ## 1.4 924 | ### No issue 925 | [Gradle Release Plugin] - pre tag commit: '1.4'. 926 | 927 | lib 1.9 #feature 928 | 929 | Updating version in example 930 | 931 | [Gradle Release Plugin] - new version commit: '1.4-SNAPSHOT'. 932 | 933 | 934 | 935 | ## 1.3 936 | ### No issue 937 | [Gradle Release Plugin] - pre tag commit: '1.3'. 938 | 939 | lib 1.3 940 | 941 | Using 1.3-SNAPSHOT in example 942 | 943 | [Gradle Release Plugin] - new version commit: '1.3-SNAPSHOT'. 944 | 945 | 946 | 947 | ## 1.2 948 | ### Jira 949 | Changing release instructions. 950 | 951 | * There is currently a bug in Gradle release plugin plugin that requires the keys to be passed as parameters instead of gradle.properties. GRADLE-3281 952 | 953 | 954 | ### No issue 955 | [Gradle Release Plugin] - pre tag commit: '1.2'. 956 | 957 | MediaWiki support, using lib 1.2 #feature 958 | 959 | Updating example plugin to use 1.2 snapshot 960 | 961 | [Gradle Release Plugin] - new version commit: '1.2-SNAPSHOT'. 962 | 963 | 964 | 965 | ## 1.1 966 | ### No issue 967 | [Gradle Release Plugin] - pre tag commit: '1.1'. 968 | 969 | Adding plugin plugin 970 | 971 | doc 972 | 973 | [Gradle Release Plugin] - new version commit: '1.1-SNAPSHOT'. 974 | 975 | 976 | 977 | ## 1.0 978 | ### No issue 979 | [Gradle Release Plugin] - pre tag commit: '1.0'. 980 | 981 | More work for 1.0 982 | 983 | Initial 984 | 985 | 986 | 987 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## 3.1.1 (2025-09-28) 2 | 3 | ### Dependency updates 4 | 5 | - dependencies ([ff04d](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/ff04dfc699e1f0d) Tomas Bjerre) 6 | ## 3.1.0 (2025-09-19) 7 | 8 | ### Features 9 | 10 | - expose git-changelog-lib as api ([40d46](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/40d46845d3122d9) Tomas Bjerre) 11 | 12 | ## 3.0.7 (2025-07-29) 13 | 14 | ### Dependency updates 15 | 16 | - dependency updates ([b1530](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/b1530259d9c27f9) Tomas Bjerre) 17 | ## 3.0.6 (2025-03-16) 18 | 19 | ### Dependency updates 20 | 21 | - git-changelog-lib ([f7c6e](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/f7c6efe9b0d67c0) Tomas Bjerre) 22 | ## 3.0.5 (2025-02-09) 23 | 24 | ### Bug Fixes 25 | 26 | - configuration cache fix by avoiding project during execution ([87e78](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/87e78411c68c0b8) Tomas Bjerre) [#55](https://github.com/tomasbjerre/git-changelog-gradle-plugin/issues/55) 27 | 28 | ## 3.0.4 (2025-01-26) 29 | 30 | ### Bug Fixes 31 | 32 | - reverse order in eachUrlPart ([64a1b](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/64a1bb9df9bc08c) Tomas Bjerre) 33 | 34 | ## 3.0.3 (2025-01-18) 35 | 36 | ### Dependency updates 37 | 38 | - upgrading dependencies ([fcb64](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/fcb64e4aee16613) Tomas Bjerre) 39 | ## 3.0.2 (2024-11-09) 40 | 41 | ### Bug Fixes 42 | 43 | - triggering new version ([69b18](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/69b185cbf96503b) Tomas Bjerre) 44 | 45 | ## 3.0.0 (2024-11-09) 46 | 47 | ### Breaking changes 48 | 49 | - enabling lazy loading of all configuration ([3d1a2](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/3d1a20d9c17a433) Tomas Bjerre) 50 | 51 | ## 2.5.2 (2024-10-18) 52 | 53 | ### Bug Fixes 54 | 55 | - triggering new version ([4b9f6](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/4b9f603d91b65be) Tomas Bjerre) 56 | 57 | ## 2.5.1 (2024-10-16) 58 | 59 | ### Bug Fixes 60 | 61 | - scope helpers to support chore(deps) ([1bdfe](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/1bdfe8c8d3c22e7) Tomas Bjerre) 62 | 63 | ## 2.5.0 (2024-10-16) 64 | 65 | ### Features 66 | 67 | - stepping git-changelog-lib ([064c1](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/064c1e6cf66faaa) Tomas Bjerre) 68 | 69 | # git-changelog-gradle-plugin changelog 70 | 71 | Changelog of git-changelog-gradle-plugin. 72 | 73 | ## 2.4.1 (2024-10-03) 74 | 75 | ### Bug Fixes 76 | 77 | - logging reading of properties ([41430](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/41430b1c9426770) Tomas Bjerre) 78 | 79 | ## 2.4.0 (2024-10-03) 80 | 81 | ### Features 82 | 83 | - enable version change to be triggered by property 'setVersionConventional' ([11021](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/1102173439584d5) Tomas Bjerre) 84 | 85 | ## 2.3.0 (2024-10-02) 86 | 87 | ### Bug Fixes 88 | 89 | - removing snapshot build dependencies, using git changelog plugin 2.2.1 ([05da5](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/05da51d52494a02) Tomas Bjerre) 90 | 91 | ## 2.2.2 (2024-10-02) 92 | 93 | ### Features 94 | 95 | - sorting properties when setting version ([a48f3](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/a48f30c138810fb) Tomas Bjerre) 96 | 97 | ## 2.2.1 (2024-10-02) 98 | 99 | ### Bug Fixes 100 | 101 | - releasing with gradle release task ([cb6e4](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/cb6e475e5dc91d9) Tomas Bjerre) 102 | 103 | ## 2.2.0 (2024-10-02) 104 | 105 | ### Features 106 | 107 | - use special default template when prepending ([cb5cc](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/cb5cc7172dd5229) Tomas Bjerre) 108 | 109 | ### Bug Fixes 110 | 111 | - build script ([77772](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/777725bcd56c95d) Tomas Bjerre) 112 | 113 | ## 2.1.2 (2024-02-25) 114 | 115 | ### Bug Fixes 116 | 117 | - building with Gradle 8 ([024cb](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/024cb1f5c1ac4f9) Tomas Bjerre) 118 | 119 | ## 2.1.1 (2024-02-25) 120 | 121 | ### Bug Fixes 122 | 123 | - building with Gradle 8 ([af981](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/af981b60f0780e1) Tomas Bjerre) 124 | 125 | ## 2.1.0 (2024-02-10) 126 | 127 | ### Features 128 | 129 | - **conventional-commits** allow whitespace, colon and comma as separator in scope ([80fb4](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/80fb4045b2905e4) Tomas Bjerre) 130 | 131 | ## 2.0.0 (2024-01-27) 132 | 133 | ### Breaking changes 134 | 135 | - JGit 6 and Java 11 ([4395d](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/4395d7b962977fa) Tomas Bjerre) 136 | 137 | ## 1.81.4 (2023-12-01) 138 | 139 | ### Bug Fixes 140 | 141 | - mapping commits to lowest possible semantic tag ([3a2bd](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/3a2bd5aa4309aca) Tomas Bjerre) 142 | 143 | ## 1.81.3 (2023-09-24) 144 | 145 | ### Bug Fixes 146 | 147 | - current version ([ed1d9](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/ed1d995e76a80f7) Tomas Bjerre) [#48](https://github.com/tomasbjerre/git-changelog-gradle-plugin/issues/48) 148 | 149 | ## 1.81.2 (2023-09-24) 150 | 151 | ### Bug Fixes 152 | 153 | - using current version in GitChangelogSemanticVersionTask ([f6b0c](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/f6b0c3066058b1a) Tomas Bjerre) [#48](https://github.com/tomasbjerre/git-changelog-gradle-plugin/issues/48) 154 | 155 | ## 1.81.1 (2023-09-20) 156 | 157 | ### Bug Fixes 158 | 159 | - **GitChangelogSemanticVersionTask** Properly close `gradle.properties` ([835da](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/835da6a76abc873) Sebastian Schuberth) 160 | - **GitChangelogGradlePlugin** Make tasks show up in "tasks" ([71b04](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/71b04a1ae8a1b66) Sebastian Schuberth) 161 | 162 | ## 1.81.0 (2023-09-11) 163 | 164 | ### Features 165 | 166 | - add filtering for footer tokens ([e07f9](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/e07f9710351cfd2) Tomas Bjerre) 167 | 168 | ## 1.80.0 (2023-08-31) 169 | 170 | ### Features 171 | 172 | - from/toRevision and prioritizing commits semantically when adding to tags ([b8f27](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/b8f27b45a4525f9) Tomas Bjerre) 173 | 174 | ## 1.79.0 (2023-04-22) 175 | 176 | ### Features 177 | 178 | - stringHelpers ([39183](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/391836431dd84f6) Tomas Bjerre) 179 | 180 | ## 1.78.1 (2023-03-12) 181 | 182 | ### Bug Fixes 183 | 184 | - avoiding stuck execution ([de937](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/de9379c0a235c86) Tomas Bjerre) 185 | 186 | ## 1.78.0 (2023-02-28) 187 | 188 | ### Features 189 | 190 | - add ignoreTagsIfNameMatches to gitChangelogSemanticVersion ([8d766](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/8d766aed4676ac7) Tomas Bjerre) 191 | 192 | ## 1.77.3 (2023-02-16) 193 | 194 | ### Bug Fixes 195 | 196 | - parsing newest commits first ([38237](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/3823765b3001466) Tomas Bjerre) 197 | 198 | ## 1.77.2 (2023-01-04) 199 | 200 | ### Bug Fixes 201 | 202 | - allow space before : in commit message ([0c8b0](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/0c8b08672c8b921) Tomas Bjerre) 203 | 204 | ## 1.77.1 (2022-12-28) 205 | 206 | ## 1.77.0 (2022-12-22) 207 | 208 | ### Features 209 | 210 | - Move file default to task ([d60f8](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/d60f89a90e7e079) SimonIT) 211 | 212 | ### Bug Fixes 213 | 214 | - Set repo for GitChangelogSemanticVersionTask ([f8707](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/f8707ced3aece51) SimonIT) 215 | 216 | ## 1.76.1 (2022-12-20) 217 | 218 | ### Bug Fixes 219 | 220 | - making semantic version match not greedy ([e5b3e](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/e5b3ec9b6f4232a) Tomas Bjerre) 221 | 222 | ## 1.76.0 (2022-12-13) 223 | 224 | ### Features 225 | 226 | - Add root gradle project as default git repository directory ([4b859](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/4b859961321c347) SimonIT) 227 | 228 | ## 1.75.0 (2022-12-03) 229 | 230 | ### Features 231 | 232 | - gitChangelogSemanticVersion ([22af4](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/22af4a7088bc329) Tomas Bjerre) 233 | 234 | ## 1.74.0 (2022-12-03) 235 | 236 | ### Features 237 | 238 | - adjusting to Gradle 7.6 ([f0bc9](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/f0bc9823fa1e5a7) Tomas Bjerre) [#40](https://github.com/tomasbjerre/git-changelog-gradle-plugin/issues/40) 239 | 240 | ## 1.73.0 (2022-05-15) 241 | 242 | ### Features 243 | 244 | - enable partial templates by exposing missing Git Changelog lib properties ([1d6ed](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/1d6eddd48bd84ac) perrke) 245 | 246 | ## 1.72.0 (2022-03-31) 247 | 248 | ### Features 249 | 250 | - prependToFile ([6fcf0](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/6fcf01c78fa7501) Tomas Bjerre) 251 | 252 | ## 1.71.6 (2022-01-16) 253 | 254 | ### Bug Fixes 255 | 256 | - disable integrations with a boolean useIntegrations ([45e5f](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/45e5ff7ad187a14) Tomas Bjerre) 257 | 258 | ## 1.71.5 (2022-01-05) 259 | 260 | ### Bug Fixes 261 | 262 | - only parse enabled issues ([b11ec](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/b11ec3d3d77758f) Tomas Bjerre) 263 | 264 | ## 1.71.4 (2021-06-17) 265 | 266 | ### Bug Fixes 267 | 268 | - adding default changelog template jenkinsci/git-changelog-plugin#58 ([d0f2c](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/d0f2ce5982797b5) Tomas Bjerre) 269 | 270 | ## 1.71.0 (2021-06-09) 271 | 272 | ### Bug Fixes 273 | 274 | - when file was in a new folder, it created folder ([caa23](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/caa231c47e6aa90) Tomas Bjerre) 275 | 276 | ## 1.68.5 (2021-06-01) 277 | 278 | ### Bug Fixes 279 | 280 | - temporary removing plugins not working with Gradle 7 ([a2937](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/a293732ecf8ee92) Tomas Bjerre) 281 | 282 | ## 1.68.2 (2021-05-31) 283 | 284 | ## 1.68.0 (2021-05-27) 285 | 286 | ### Features 287 | 288 | - support conventional commits ([ae011](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/ae0117c7db35ca5) Tomas Bjerre) 289 | 290 | ### Other changes 291 | 292 | **new build script** 293 | 294 | 295 | [f1da2](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/f1da2169260afa8) Tomas Bjerre *2021-04-04 15:46:18* 296 | 297 | 298 | ## 1.66 (2021-03-29) 299 | 300 | ### Other changes 301 | 302 | **pretty printing output JENKINS-65252** 303 | 304 | 305 | [d85a2](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/d85a295ac2979fc) Tomas Bjerre *2021-03-29 15:48:00* 306 | 307 | 308 | ## 1.65 (2021-01-18) 309 | 310 | ### Other changes 311 | 312 | **Removing default ignore filter on message** 313 | 314 | 315 | [6b2f6](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/6b2f6f7d332ff2a) Tomas Bjerre *2021-01-18 17:04:59* 316 | 317 | **doc** 318 | 319 | 320 | [1eeda](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/1eedaff75faae6b) Tomas Bjerre *2019-10-09 16:58:05* 321 | 322 | **Create FUNDING.yml** 323 | 324 | 325 | [035d4](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/035d45bf48bf3fc) Tomas Bjerre *2019-09-28 06:58:22* 326 | 327 | **Update README to use Plugin DSL** 328 | 329 | 330 | [a4cb6](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/a4cb64c0e4c9184) Chad Vincent *2019-09-09 13:14:40* 331 | 332 | 333 | ## 1.64 (2019-08-13) 334 | 335 | ### Other changes 336 | 337 | **Update .travis.yml** 338 | 339 | 340 | [32f93](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/32f936846588f3b) Tomas Bjerre *2019-08-13 04:35:49* 341 | 342 | **Set fromRepo property only if provided and after read settings file.** 343 | 344 | * This will provide ability to override path to git repo from gradle script. 345 | 346 | [7d3d5](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/7d3d5d212468ca4) mdolinin *2019-08-13 00:22:29* 347 | 348 | 349 | ## 1.63 (2019-06-11) 350 | 351 | ### Other changes 352 | 353 | **Removing dependency on javax.xml** 354 | 355 | 356 | [3e003](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/3e0032c3034d3a5) Tomas Bjerre *2019-06-11 17:04:17* 357 | 358 | 359 | ## 1.62 (2019-06-11) 360 | 361 | ### Other changes 362 | 363 | **JDK 11 compatible** 364 | 365 | 366 | [f6341](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/f63417b07082607) Tomas Bjerre *2019-06-11 16:36:28* 367 | 368 | **Updating tests** 369 | 370 | 371 | [3c83f](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/3c83fe68d95357e) Tomas Bjerre *2019-05-20 15:07:55* 372 | 373 | 374 | ## 1.61 (2019-05-20) 375 | 376 | ### Other changes 377 | 378 | **Gradle 5** 379 | 380 | 381 | [bd073](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/bd0732f190bf807) Tomas Bjerre *2019-05-20 14:29:54* 382 | 383 | 384 | ## 1.60 (2019-01-08) 385 | 386 | ### Other changes 387 | 388 | **Jira linked issues** 389 | 390 | 391 | [2efc6](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/2efc65342c971e7) Tomas Bjerre *2019-01-08 18:01:20* 392 | 393 | 394 | ## 1.59 (2018-10-27) 395 | 396 | ### Other changes 397 | 398 | **Correcting GitLab integration after upgrade** 399 | 400 | 401 | [3954c](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/3954c5f904227ef) Tomas Bjerre *2018-10-27 17:56:49* 402 | 403 | 404 | ## 1.58 (2018-10-27) 405 | 406 | ### Other changes 407 | 408 | **GitLab API v4** 409 | 410 | 411 | [6cb50](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/6cb50b9bd7820be) Tomas Bjerre *2018-10-27 16:27:04* 412 | 413 | 414 | ## 1.57 (2018-10-27) 415 | 416 | ### Other changes 417 | 418 | **isJira isGitHub...** 419 | 420 | 421 | [7cc8f](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/7cc8f9e2bf3e675) Tomas Bjerre *2018-10-27 06:05:00* 422 | 423 | **doc** 424 | 425 | 426 | [8048d](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/8048d8372e8ecdf) Tomas Bjerre *2018-09-25 07:22:54* 427 | 428 | **using latest version in example** 429 | 430 | 431 | [9d898](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/9d898a9db72ae6d) Tomas Bjerre *2018-09-13 09:02:58* 432 | 433 | 434 | ## 1.56 (2018-09-13) 435 | 436 | ### Other changes 437 | 438 | **git-changelog-lib 1.82** 439 | 440 | 441 | [df304](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/df30491510ac279) Tomas Bjerre *2018-09-13 07:20:10* 442 | 443 | 444 | ## 1.55 (2017-12-30) 445 | 446 | ### Other changes 447 | 448 | **Closing RevWalk JENKINS-19994** 449 | 450 | 451 | [bd848](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/bd848b309dc2e0d) Tomas Bjerre *2017-12-30 20:38:52* 452 | 453 | **Doc** 454 | 455 | 456 | [4c348](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/4c348e84921ce41) Tomas Bjerre *2017-12-19 12:31:47* 457 | 458 | 459 | ## 1.54 (2017-12-19) 460 | 461 | ### Other changes 462 | 463 | **Description available for Jira issues** 464 | 465 | 466 | [08c31](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/08c318c4fe0b851) Tomas Bjerre *2017-12-19 12:10:36* 467 | 468 | **Adjusting to Bintray** 469 | 470 | 471 | [93d8d](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/93d8d88c9812987) Tomas Bjerre *2017-12-19 12:10:26* 472 | 473 | **Doc** 474 | 475 | 476 | [5ee1f](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/5ee1f247a7f4e79) Tomas Bjerre *2017-11-18 12:39:39* 477 | 478 | 479 | ## 1.53 (2017-11-18) 480 | 481 | ### Other changes 482 | 483 | **Disabling integrations if not used** 484 | 485 | 486 | [cc80c](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/cc80c59ea5010b1) Tomas Bjerre *2017-11-18 12:35:27* 487 | 488 | **Doc** 489 | 490 | 491 | [67998](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/67998f029dc2650) Tomas Bjerre *2017-11-02 17:18:14* 492 | 493 | 494 | ## 1.52 (2017-11-02) 495 | 496 | ### Other changes 497 | 498 | **Avoiding usage of Guava Objects** 499 | 500 | 501 | [d7f35](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/d7f352acc81683e) Tomas Bjerre *2017-11-02 17:14:15* 502 | 503 | **Doc** 504 | 505 | 506 | [6976a](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/6976aa12d53049e) Tomas Bjerre *2017-10-28 11:23:02* 507 | 508 | 509 | ## 1.51 (2017-10-28) 510 | 511 | ### Other changes 512 | 513 | **Gradle publish plugin 0.9.9** 514 | 515 | 516 | [a4f12](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/a4f123715188f61) Tomas Bjerre *2017-10-28 10:49:45* 517 | 518 | **doc** 519 | 520 | 521 | [05d90](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/05d90e9fdb837a6) Tomas Bjerre *2017-07-25 18:31:19* 522 | 523 | 524 | ## 1.50 (2017-07-25) 525 | 526 | ### Other changes 527 | 528 | **Lib 1.71** 529 | 530 | 531 | [9e423](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/9e42357f0f8a330) Tomas Bjerre *2017-07-25 18:27:12* 532 | 533 | **doc** 534 | 535 | 536 | [4ca8b](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/4ca8b778ad9ee34) Tomas Bjerre *2017-07-24 20:02:45* 537 | 538 | 539 | ## 1.49 (2017-07-24) 540 | 541 | ### Other changes 542 | 543 | **Lib 1.70** 544 | 545 | 546 | [eb32c](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/eb32cb7c632fd50) Tomas Bjerre *2017-07-24 19:43:57* 547 | 548 | **doc** 549 | 550 | 551 | [bc3d5](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/bc3d55a49f0cd22) Tomas Bjerre *2017-07-09 19:50:09* 552 | 553 | 554 | ## 1.48 (2017-07-08) 555 | 556 | ### Other changes 557 | 558 | **Ignore commits older than #9** 559 | 560 | 561 | [e185a](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/e185afe0630ecf2) Tomas Bjerre *2017-07-08 06:06:26* 562 | 563 | **doc** 564 | 565 | 566 | [109a6](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/109a63e61305810) Tomas Bjerre *2017-05-22 16:19:24* 567 | 568 | 569 | ## 1.47 (2017-05-22) 570 | 571 | ### Other changes 572 | 573 | **Better handling of relative paths #7** 574 | 575 | 576 | [a3e98](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/a3e98d30881c76e) Tomas Bjerre *2017-05-22 16:16:38* 577 | 578 | **doc** 579 | 580 | 581 | [ae98f](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/ae98fb5e6e74075) Your Name *2017-05-20 14:47:09* 582 | 583 | 584 | ## 1.46 (2017-05-20) 585 | 586 | ### Other changes 587 | 588 | **Adding fromRepo attribute #8** 589 | 590 | 591 | [e6560](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/e656098d86f5cbd) Your Name *2017-05-20 14:43:23* 592 | 593 | **Using file(..) instead of new File(..) in examples #7** 594 | 595 | 596 | [278bb](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/278bbaca992f908) Your Name *2017-05-20 14:14:53* 597 | 598 | **doc** 599 | 600 | 601 | [d0754](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/d0754c14ba30320) Tomas Bjerre *2017-04-14 09:24:18* 602 | 603 | 604 | ## 1.45 (2017-04-14) 605 | 606 | ### Other changes 607 | 608 | **tag time added to tag model** 609 | 610 | 611 | [d2196](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/d21964445069bf0) Tomas Bjerre *2017-04-14 09:20:14* 612 | 613 | **doc** 614 | 615 | 616 | [a9988](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/a998896882677cd) Tomas Bjerre *2017-03-26 05:10:01* 617 | 618 | 619 | ## 1.44 (2017-03-26) 620 | 621 | ### Other changes 622 | 623 | **GitLab integration** 624 | 625 | 626 | [636a4](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/636a45d1daba1f6) Tomas Bjerre *2017-03-26 05:07:07* 627 | 628 | **doc** 629 | 630 | 631 | [697ff](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/697ffb2c810657c) Tomas Bjerre *2017-03-20 18:43:51* 632 | 633 | 634 | ## 1.43 (2017-03-20) 635 | 636 | ### Other changes 637 | 638 | **doc** 639 | 640 | 641 | [65bbb](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/65bbb3948850167) Tomas Bjerre *2017-03-20 18:27:20* 642 | 643 | 644 | ## 1.42 (2017-03-20) 645 | 646 | ### Other changes 647 | 648 | **Fix Jira labels** 649 | 650 | 651 | [fe7e9](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/fe7e9fd812ead29) Tomas Bjerre *2017-03-20 18:20:36* 652 | 653 | **doc** 654 | 655 | 656 | [c542d](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/c542dfe71851922) Tomas Bjerre *2017-03-18 09:35:54* 657 | 658 | 659 | ## 1.41 (2017-03-18) 660 | 661 | ### Other changes 662 | 663 | **Git Changelog Lib 1.58 -> 1.64** 664 | 665 | * Jira issueType and labels 666 | * GitHub labels 667 | * 10 seconds timeout to GitHub 668 | 669 | [4b11b](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/4b11be4a5b1d298) Tomas Bjerre *2017-03-18 09:33:32* 670 | 671 | **Set theme jekyll-theme-slate** 672 | 673 | 674 | [57ad0](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/57ad0c56ec60af3) Tomas Bjerre *2017-02-07 20:20:13* 675 | 676 | **doc** 677 | 678 | 679 | [0f46e](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/0f46ec14274d48b) Tomas Bjerre *2016-10-22 10:33:53* 680 | 681 | 682 | ## 1.40 (2016-10-22) 683 | 684 | ### Other changes 685 | 686 | **Adding annotation to context of tag** 687 | 688 | 689 | [8b315](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/8b315d7b4d0c6e0) Tomas Bjerre *2016-10-22 10:27:44* 690 | 691 | **doc** 692 | 693 | 694 | [070be](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/070be300680768f) Tomas Bjerre *2016-10-05 19:30:09* 695 | 696 | 697 | ## 1.39 (2016-10-05) 698 | 699 | ### Other changes 700 | 701 | **Adding merge boolean to commits** 702 | 703 | 704 | [a91d6](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/a91d6410ac7ab39) Tomas Bjerre *2016-10-05 18:41:43* 705 | 706 | **doc** 707 | 708 | 709 | [da8b7](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/da8b749e115eadc) Tomas Bjerre *2016-08-11 14:40:21* 710 | 711 | 712 | ## 1.38 (2016-08-11) 713 | 714 | ### Other changes 715 | 716 | **Correcting version** 717 | 718 | 719 | [f2a73](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/f2a73d0ee6e4927) Tomas Bjerre *2016-08-11 14:37:02* 720 | 721 | 722 | ## 0 (2016-08-11) 723 | 724 | ### Other changes 725 | 726 | **Lib 1.56 correcting link to Jira** 727 | 728 | 729 | [cd6e0](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/cd6e07b6ba370ee) Tomas Bjerre *2016-08-11 14:33:12* 730 | 731 | **Doc** 732 | 733 | 734 | [803a5](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/803a5f64f400ba8) Tomas Bjerre *2016-08-02 18:29:21* 735 | 736 | 737 | ## 1.37 (2016-08-02) 738 | 739 | ### Other changes 740 | 741 | **Adding {{hashFull}} variable** 742 | 743 | 744 | [a8fef](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/a8fefac12cd4069) Tomas Bjerre *2016-08-02 18:27:12* 745 | 746 | **doc** 747 | 748 | 749 | [4e550](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/4e5509c1c1cf847) Tomas Bjerre *2016-06-25 00:20:39* 750 | 751 | 752 | ## 1.36 (2016-06-25) 753 | 754 | ### Other changes 755 | 756 | **Faster** 757 | 758 | 759 | [9f100](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/9f10076c152d8cc) Tomas Bjerre *2016-06-25 00:05:41* 760 | 761 | **doc** 762 | 763 | 764 | [d1e5d](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/d1e5df127614552) Tomas Bjerre *2016-06-24 21:19:09* 765 | 766 | 767 | ## 1.35 (2016-06-24) 768 | 769 | ### Other changes 770 | 771 | **Fixing merge commits... again...** 772 | 773 | 774 | [218dd](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/218ddf1dc0001f5) Tomas Bjerre *2016-06-24 21:17:20* 775 | 776 | **doc** 777 | 778 | 779 | [eb1f2](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/eb1f2d442d74fe5) Tomas Bjerre *2016-06-24 09:34:04* 780 | 781 | 782 | ## 1.34 (2016-06-24) 783 | 784 | ### Other changes 785 | 786 | **Including commits from merges lib issue 49** 787 | 788 | 789 | [08998](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/0899840508e7952) Tomas Bjerre *2016-06-24 09:32:25* 790 | 791 | **Lib 1.49, finding first commit as parents from HEAD** 792 | 793 | 794 | [31ec0](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/31ec07934bdad52) Tomas Bjerre *2016-06-02 18:28:34* 795 | 796 | 797 | ## 1.33 (2016-06-02) 798 | 799 | ### Other changes 800 | 801 | **Lib 1.49, finding first commit as parents from HEAD** 802 | 803 | 804 | [780b2](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/780b2da1a68f2bc) Tomas Bjerre *2016-06-02 18:23:12* 805 | 806 | **doc** 807 | 808 | 809 | [842eb](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/842eb75a106dbec) Tomas Bjerre *2016-05-20 19:16:48* 810 | 811 | 812 | ## 1.32 (2016-05-20) 813 | 814 | ### Other changes 815 | 816 | **Ignoring trailing slash in JIRA URL** 817 | 818 | 819 | [d4c8e](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/d4c8e11e93f50ce) Tomas Bjerre *2016-05-20 19:15:04* 820 | 821 | **doc** 822 | 823 | 824 | [9ab59](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/9ab59a6366cbba9) Tomas Bjerre *2016-04-13 18:47:25* 825 | 826 | 827 | ## 1.31 (2016-04-13) 828 | 829 | ### Other changes 830 | 831 | **Lib 1.45** 832 | 833 | 834 | [c4976](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/c497663d4baa276) Tomas Bjerre *2016-04-13 18:45:12* 835 | 836 | **Lib 1.45** 837 | 838 | 839 | [278e3](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/278e3ba5f42ef11) Tomas Bjerre *2016-04-13 18:44:42* 840 | 841 | **doc** 842 | 843 | 844 | [640ec](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/640ecdd01433b9f) Tomas Bjerre *2016-04-12 16:58:44* 845 | 846 | **doc** 847 | 848 | 849 | [2c18d](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/2c18de4dd5ab621) Tomas Bjerre *2016-04-12 16:57:43* 850 | 851 | 852 | ## 1.30 (2016-04-12) 853 | 854 | ### Other changes 855 | 856 | **JENKINS-34155 Support short SHA** 857 | 858 | 859 | [7d641](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/7d6410b3a5b9966) Tomas Bjerre *2016-04-12 16:56:23* 860 | 861 | **doc** 862 | 863 | 864 | [bd4bc](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/bd4bc7d6f9986f9) Tomas Bjerre *2016-04-10 09:15:03* 865 | 866 | 867 | ## 1.29 (2016-04-10) 868 | 869 | ### Other changes 870 | 871 | **Lib 1.43, Parsing commits, oldest first** 872 | 873 | 874 | [a492b](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/a492b1147ac9cd6) Tomas Bjerre *2016-04-10 09:13:22* 875 | 876 | 877 | ## 1.28 (2016-04-10) 878 | 879 | ### Other changes 880 | 881 | **Lib 1.42, Parsing commits, oldest first** 882 | 883 | 884 | [e0ff2](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/e0ff26d0d7eecfa) Tomas Bjerre *2016-04-10 09:03:30* 885 | 886 | **Updating doc** 887 | 888 | 889 | [e2e13](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/e2e13910a0a3eac) Tomas Bjerre *2016-04-09 20:41:52* 890 | 891 | 892 | ## 1.27 (2016-04-09) 893 | 894 | ### Other changes 895 | 896 | **Lib 1.41, Commits added to correct tags** 897 | 898 | 899 | [54707](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/54707a708f1ee79) Tomas Bjerre *2016-04-09 20:40:35* 900 | 901 | **Updating example** 902 | 903 | 904 | [dbfc6](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/dbfc64080f56afd) Tomas Bjerre *2016-04-07 19:08:48* 905 | 906 | 907 | ## 1.26 (2016-04-07) 908 | 909 | ### Other changes 910 | 911 | **Lib 1.40 can ignore tags by regexp** 912 | 913 | 914 | [87c1d](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/87c1dac2c4a9455) Tomas Bjerre *2016-04-07 19:06:38* 915 | 916 | **Updating example** 917 | 918 | 919 | [51888](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/5188838111d44c8) Tomas Bjerre *2016-03-20 09:55:38* 920 | 921 | 922 | ## 1.25 (2016-03-20) 923 | 924 | ### Other changes 925 | 926 | **Lib 1.39** 927 | 928 | 929 | [ecf09](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/ecf09f20a68bef2) Tomas Bjerre *2016-03-20 09:53:14* 930 | 931 | **Updating example** 932 | 933 | 934 | [f0117](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/f0117a163d745e4) Tomas Bjerre *2016-03-20 09:04:27* 935 | 936 | 937 | ## 1.24 (2016-03-20) 938 | 939 | ### Other changes 940 | 941 | **Lib 1.38** 942 | 943 | 944 | [c924b](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/c924b21e276fc6c) Tomas Bjerre *2016-03-20 09:01:00* 945 | 946 | **Updating README** 947 | 948 | 949 | [b26ce](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/b26ceab0de77b82) Tomas Bjerre *2016-03-16 16:21:01* 950 | 951 | 952 | ## 1.23 (2016-03-16) 953 | 954 | ### Other changes 955 | 956 | **Jira integration to get titles** 957 | 958 | 959 | [ba49a](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/ba49a437a58491c) Tomas Bjerre *2016-03-16 16:19:08* 960 | 961 | **Update example** 962 | 963 | 964 | [1731b](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/1731b0fd836186e) Tomas Bjerre *2016-03-15 21:09:38* 965 | 966 | 967 | ## 1.22 (2016-03-15) 968 | 969 | ### Other changes 970 | 971 | **Updating release and publish plugins** 972 | 973 | 974 | [6feac](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/6feacb255e8cf21) Tomas Bjerre *2016-03-15 21:07:59* 975 | 976 | **Support GitHub OAuth2 token #4** 977 | 978 | 979 | [e7396](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/e7396385437d9f8) Tomas Bjerre *2016-03-15 20:56:29* 980 | 981 | **Updating CHANGELOG.md** 982 | 983 | 984 | [36550](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/3655040d316782d) Tomas Bjerre *2016-02-28 10:47:04* 985 | 986 | 987 | ## 1.21 (2016-02-20) 988 | 989 | ### Other changes 990 | 991 | **Supplying commit in each issue mentioned in message** 992 | 993 | 994 | [bdbce](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/bdbce32f910fdc4) Tomas Bjerre *2016-02-20 08:44:05* 995 | 996 | **Lib 1.30, supporting multiple tags on same commit** 997 | 998 | 999 | [28826](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/2882668ea6ff82a) Tomas Bjerre *2016-02-15 18:15:17* 1000 | 1001 | 1002 | ## 1.20 (2016-02-15) 1003 | 1004 | ### Other changes 1005 | 1006 | **Lib 1.30, supporting multiple tags on same commit** 1007 | 1008 | 1009 | [bc538](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/bc538a1e94d21ac) Tomas Bjerre *2016-02-15 18:12:32* 1010 | 1011 | 1012 | ## 1.19 (2016-02-14) 1013 | 1014 | ### Other changes 1015 | 1016 | **Lib 1.29** 1017 | 1018 | 1019 | [32a88](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/32a88b23cc4c42f) Tomas Bjerre *2016-02-14 18:02:39* 1020 | 1021 | 1022 | ## 1.18 (2016-02-13) 1023 | 1024 | ### Other changes 1025 | 1026 | **Significant performance improvements** 1027 | 1028 | * Using lib 1.27. 1029 | 1030 | [5e16e](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/5e16e88cf7a8fbd) Tomas Bjerre *2016-02-13 09:03:51* 1031 | 1032 | **Updating README.md** 1033 | 1034 | 1035 | [03ae6](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/03ae6c70c40364f) Tomas Bjerre *2016-02-10 18:21:28* 1036 | 1037 | 1038 | ## 1.17 (2016-02-10) 1039 | 1040 | ### Other changes 1041 | 1042 | **Git changelog lib 1.25** 1043 | 1044 | * Also updating README.md and changelog tempalte. 1045 | 1046 | [95a4d](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/95a4d3ea1c8df04) Tomas Bjerre *2016-02-10 18:19:01* 1047 | 1048 | **Updating CHANGELOG.md after release** 1049 | 1050 | 1051 | [40baf](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/40baf9c5cdb12d8) Tomas Bjerre *2016-02-09 19:35:00* 1052 | 1053 | 1054 | ## 1.16 (2016-02-09) 1055 | 1056 | ### Other changes 1057 | 1058 | **Added variables: messageTitle, messageBody, messageItems #5** 1059 | 1060 | 1061 | [911a9](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/911a92eefbfc04c) Tomas Bjerre *2016-02-09 19:33:06* 1062 | 1063 | **Updating CHANGELOG.md after release** 1064 | 1065 | 1066 | [8b01a](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/8b01ab7c2cc3510) Tomas Bjerre *2016-02-01 18:07:00* 1067 | 1068 | 1069 | ## 1.15 (2016-02-01) 1070 | 1071 | ### Other changes 1072 | 1073 | **Allowing custom issues not to include link** 1074 | 1075 | * Adding example with issues like I123 1076 | 1077 | [cffcc](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/cffcc84f13f8305) Tomas Bjerre *2016-02-01 18:04:49* 1078 | 1079 | **Updating README.md after release** 1080 | 1081 | 1082 | [b1e1a](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/b1e1a40dac37696) Tomas Bjerre *2016-01-31 21:23:20* 1083 | 1084 | 1085 | ## 1.14 (2016-01-31) 1086 | 1087 | ### Other changes 1088 | 1089 | **Maven Central version badge in README.md** 1090 | 1091 | 1092 | [f59f6](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/f59f6a980356765) Tomas Bjerre *2016-01-31 21:14:53* 1093 | 1094 | **Updating README.md after release** 1095 | 1096 | 1097 | [287fc](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/287fce2b6c6d88a) Tomas Bjerre *2016-01-31 19:16:50* 1098 | 1099 | 1100 | ## 1.13 (2016-01-31) 1101 | 1102 | ### Other changes 1103 | 1104 | **Implementing custom issues** 1105 | 1106 | * Adding example with 1107 | * QC matching QC1234 1108 | * Incident matching INC1234 1109 | 1110 | [1faeb](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/1faeb79fd585ebc) Tomas Bjerre *2016-01-31 18:25:09* 1111 | 1112 | **Using readable tag name to extract version in mixed** 1113 | 1114 | 1115 | [0fceb](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/0fceb845d118e7f) Tomas Bjerre *2016-01-31 12:21:24* 1116 | 1117 | **Updating README.md after release** 1118 | 1119 | 1120 | [a138c](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/a138c10787f8f38) Tomas Bjerre *2016-01-31 12:18:06* 1121 | 1122 | 1123 | ## 1.12 (2016-01-31) 1124 | 1125 | ### Other changes 1126 | 1127 | **Storing settings on each task #3** 1128 | 1129 | * Also using lib 1.23 1130 | 1131 | [782ca](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/782cace31d3814f) Tomas Bjerre *2016-01-31 12:14:15* 1132 | 1133 | 1134 | ## 1.11 (2016-01-31) 1135 | 1136 | ### Other changes 1137 | 1138 | **lib 1.13** 1139 | 1140 | 1141 | [c5756](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/c57564c99e94ae3) Tomas Bjerre *2016-01-31 11:15:10* 1142 | 1143 | **Documentation and lib 1.22** 1144 | 1145 | 1146 | [1fb8d](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/1fb8da49aee539f) Tomas Bjerre *2016-01-31 09:30:35* 1147 | 1148 | 1149 | ## 1.10 (2015-12-06) 1150 | 1151 | ### Other changes 1152 | 1153 | **Using lib 1.17 #1** 1154 | 1155 | 1156 | [b5801](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/b58012a56766e79) Tomas Bjerre *2015-12-06 07:40:52* 1157 | 1158 | **doc** 1159 | 1160 | 1161 | [273b6](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/273b67ba969b42d) Tomas Bjerre *2015-12-04 22:58:53* 1162 | 1163 | 1164 | ## 1.9 (2015-12-04) 1165 | 1166 | ### Other changes 1167 | 1168 | **Using lib 1.15 #1** 1169 | 1170 | 1171 | [6daf3](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/6daf3e46b3c8e4b) Tomas Bjerre *2015-12-04 22:17:54* 1172 | 1173 | 1174 | ## 1.8 (2015-12-01) 1175 | 1176 | ### Other changes 1177 | 1178 | **using lib 1.14** 1179 | 1180 | 1181 | [160b7](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/160b7a55a498b6f) Tomas Bjerre *2015-12-01 21:45:40* 1182 | 1183 | **doc** 1184 | 1185 | 1186 | [7d88c](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/7d88c89c3575bb8) Tomas Bjerre *2015-11-23 22:11:49* 1187 | 1188 | 1189 | ## 1.7 (2015-11-23) 1190 | 1191 | ### Other changes 1192 | 1193 | **using lib 1.13 #1** 1194 | 1195 | 1196 | [378d5](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/378d5ebbd4a0d29) Tomas Bjerre *2015-11-23 22:09:40* 1197 | 1198 | **doc** 1199 | 1200 | 1201 | [1303f](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/1303f55cdbf330f) Tomas Bjerre *2015-11-23 18:14:55* 1202 | 1203 | 1204 | ## 1.6 (2015-11-23) 1205 | 1206 | ### Other changes 1207 | 1208 | **Using lib 1.12 #1** 1209 | 1210 | 1211 | [31b0e](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/31b0e8f2ca18e95) Tomas Bjerre *2015-11-23 18:11:30* 1212 | 1213 | **doc** 1214 | 1215 | 1216 | [02682](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/02682e41e00cef3) Tomas Bjerre *2015-11-21 14:32:43* 1217 | 1218 | 1219 | ## 1.5 (2015-11-21) 1220 | 1221 | ### Other changes 1222 | 1223 | **lib 1.10** 1224 | 1225 | 1226 | [2ed54](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/2ed544c84145163) Tomas Bjerre *2015-11-21 14:31:35* 1227 | 1228 | 1229 | ## 1.4 (2015-11-20) 1230 | 1231 | ### Other changes 1232 | 1233 | **lib 1.9 #feature** 1234 | 1235 | 1236 | [44eea](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/44eea52c090958b) Tomas Bjerre *2015-11-20 22:10:47* 1237 | 1238 | **Updating version in example** 1239 | 1240 | 1241 | [91674](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/91674a2a04cdc1f) Tomas Bjerre *2015-11-18 19:45:38* 1242 | 1243 | 1244 | ## 1.3 (2015-11-18) 1245 | 1246 | ### Other changes 1247 | 1248 | **lib 1.3** 1249 | 1250 | 1251 | [0e6eb](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/0e6eb5b4d8b359a) Tomas Bjerre *2015-11-18 19:43:32* 1252 | 1253 | **Using 1.3-SNAPSHOT in example** 1254 | 1255 | 1256 | [087ce](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/087cecc26fdf9b0) Tomas Bjerre *2015-11-17 20:06:50* 1257 | 1258 | 1259 | ## 1.2 (2015-11-17) 1260 | 1261 | ### Other changes 1262 | 1263 | **MediaWiki support, using lib 1.2 #feature** 1264 | 1265 | 1266 | [ecc10](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/ecc10fdaf81330f) Tomas Bjerre *2015-11-17 19:59:29* 1267 | 1268 | **Updating example plugin to use 1.2 snapshot** 1269 | 1270 | 1271 | [76ebb](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/76ebb6f8015ca43) Tomas Bjerre *2015-11-16 17:44:10* 1272 | 1273 | **Changing release instructions.** 1274 | 1275 | * There is currently a bug in Gradle release plugin plugin that requires the keys to be passed as parameters instead of gradle.properties. GRADLE-3281 1276 | 1277 | [69146](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/69146dc3ba2bfd7) Tomas Bjerre *2015-11-16 17:33:57* 1278 | 1279 | 1280 | ## 1.1 (2015-11-16) 1281 | 1282 | ### Other changes 1283 | 1284 | **Adding plugin plugin** 1285 | 1286 | 1287 | [3568f](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/3568f412a65a16d) Tomas Bjerre *2015-11-16 17:29:30* 1288 | 1289 | **doc** 1290 | 1291 | 1292 | [9b485](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/9b485f708e30054) Tomas Bjerre *2015-11-15 13:12:46* 1293 | 1294 | 1295 | ## 1.0 (2015-11-15) 1296 | 1297 | ### Other changes 1298 | 1299 | **More work for 1.0** 1300 | 1301 | 1302 | [60e0d](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/60e0d7e7292969e) Tomas Bjerre *2015-11-15 13:01:25* 1303 | 1304 | **Initial** 1305 | 1306 | 1307 | [a9bf2](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/a9bf29122e184a1) Tomas Bjerre *2015-11-14 20:15:20* 1308 | 1309 | **Initial commit** 1310 | 1311 | 1312 | [5d7de](https://github.com/tomasbjerre/git-changelog-gradle-plugin/commit/5d7de6e3c378671) Tomas Bjerre *2015-11-14 19:50:29* 1313 | 1314 | 1315 | --------------------------------------------------------------------------------