mirror of
https://github.com/ethauvin/kobalt-doc.git
synced 2025-04-25 12:07:10 -07:00
Added autoGitTag{} documentation.
This commit is contained in:
parent
86d9449423
commit
beb29fdfc1
1 changed files with 24 additions and 5 deletions
|
@ -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 {
|
||||
auto = true
|
||||
annotated = true
|
||||
tag = "v$version"
|
||||
message = "Release v$version"
|
||||
}</pre>
|
||||
<p>The following configuration parameters are supported:</p>
|
||||
<dl>
|
||||
<dt>auto</dt>
|
||||
<dd>Auto-tagging is enabled by default. Set to <code>false</code> to disable.</dd>
|
||||
<dt>annotated</dt>
|
||||
<dd>A lightweight tag is created by default. Set to <code>true</code> to create an annotated tag.</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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue