1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt-doc.git synced 2025-04-25 03:57:11 -07:00

Merge pull request #15 from ethauvin/master

Added autoGitTag{} documentation.
This commit is contained in:
Cedric Beust 2017-03-18 14:11:20 -07:00 committed by GitHub
commit 72f98033a8

View file

@ -855,13 +855,9 @@ Now, all you need to do is to upload your package:
bintray {
publish = true
sign = true
autoGitTag = true
}</pre>
<p>The following configuration parameters are supported:</p>
<dl class="dl-horizontal">
<dt>autoGitTag</dt>
<dd>When the <code>uploadBintray</code> task is invoked, a git tag named as the version of the
project is automatically created and pushed to the <code>origin</code>.</dd>
<dl>
<dt>publish</dt>
<dd>Files uploaded to Bintray in your personal space are automatically published.</dd>
<dt>sign</dt>
@ -869,6 +865,29 @@ Now, all you need to do is to upload your package:
files to Maven Central once they're uploaded.</dd>
</dl>
<p>
When the <code>uploadBintray</code> task is invoked, a git tag named as the version of the
project is automatically created and pushed to the <code>origin</code>.
</p>
<pre class="brush:java">
autoGitTag {
enabled = true
annotated = true
tag = "v$version"
message = "Release v$version"
}</pre>
<p>The following configuration parameters are supported:</p>
<dl>
<dt>annotated</dt>
<dd>A lightweight tag is created by default. Set to <code>true</code> to create an annotated tag.</dd>
<dt>enabled</dt>
<dd>Auto-tagging is enabled by default. Set to <code>false</code> to disable.</dd>
<dt>tag</dt>
<dd>The git tag. Set to the project version by default.</dd>
<dt>message</dt>
<dd>Specifies the optional message to be stored with the tag.</dd>
</dl>
<h2 class="section" id="profiles">Profiles</h2>
<p>
Profiles allow you to run altered versions of your build file by using command