From beb29fdfc1d18782faed9cbbda6fa88477557a9d Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Sat, 18 Mar 2017 00:49:26 -0700 Subject: [PATCH 1/2] Added autoGitTag{} documentation. --- documentation/index.html | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/documentation/index.html b/documentation/index.html index 3182fb0..6946cfb 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -855,13 +855,9 @@ Now, all you need to do is to upload your package: bintray { publish = true sign = true - autoGitTag = true }

The following configuration parameters are supported:

-
-
autoGitTag
-
When the uploadBintray task is invoked, a git tag named as the version of the - project is automatically created and pushed to the origin.
+
publish
Files uploaded to Bintray in your personal space are automatically published.
sign
@@ -869,6 +865,29 @@ Now, all you need to do is to upload your package: files to Maven Central once they're uploaded.
+

+ When the uploadBintray task is invoked, a git tag named as the version of the + project is automatically created and pushed to the origin. +

+
+    autoGitTag {
+        auto = true
+        annotated = true
+        tag = "v$version"
+        message = "Release v$version"
+    }
+

The following configuration parameters are supported:

+
+
auto
+
Auto-tagging is enabled by default. Set to false to disable.
+
annotated
+
A lightweight tag is created by default. Set to true to create an annotated tag.
+
tag
+
The git tag. Set to the project version by default.
+
message
+
Specifies the optional message to be stored with the tag.
+
+

Profiles

Profiles allow you to run altered versions of your build file by using command From 55405a48688ca9ff22f65ce38b73527980e0f918 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Sat, 18 Mar 2017 11:04:40 -0700 Subject: [PATCH 2/2] Renamed auto paramter to enabled for autoGitTag directive. --- documentation/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation/index.html b/documentation/index.html index 6946cfb..0b67fb8 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -871,17 +871,17 @@ Now, all you need to do is to upload your package:

     autoGitTag {
-        auto = true
+        enabled = true
         annotated = true
         tag = "v$version"
         message = "Release v$version"
     }

The following configuration parameters are supported:

-
auto
-
Auto-tagging is enabled by default. Set to false to disable.
annotated
A lightweight tag is created by default. Set to true to create an annotated tag.
+
enabled
+
Auto-tagging is enabled by default. Set to false to disable.
tag
The git tag. Set to the project version by default.
message