Skip to content

Commit

Permalink
Fixed release task.
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed Dec 16, 2015
1 parent f5f9d5c commit ce8833c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ <h2 id="hscause">hs:cause</h2>
</tr>
<tr class="even">
<td style="text-align: left;"><code>escapeXml</code></td>
<td style="text-align: left;">Converts &lt;,&gt;,&amp;,',&quot; to their corresponding <a href="http://dev.w3.org/html5/html-author/charref">entity codes</a>. Value is <code>true</code> by default.</td>
<td style="text-align: left;">Converts &lt;, &gt;, &amp;, ', &quot; to their corresponding <a href="http://dev.w3.org/html5/html-author/charref">entity codes</a>. Value is <code>true</code> by default.</td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -119,7 +119,7 @@ <h2 id="hsreason">hs:reason</h2>
</tr>
<tr class="odd">
<td style="text-align: left;"><code>escapeXml</code></td>
<td style="text-align: left;">Converts &lt;,&gt;,&amp;,',&quot; to their corresponding <a href="http://dev.w3.org/html5/html-author/charref">entity codes</a>. Value is <code>true</code> by default.</td>
<td style="text-align: left;">Converts &lt;, &gt;, &amp;, ', &quot; to their corresponding <a href="http://dev.w3.org/html5/html-author/charref">entity codes</a>. Value is <code>true</code> by default.</td>
</tr>
</tbody>
</table>
Expand Down
11 changes: 7 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@ compileJava {


jar {
def props = new Properties()
file(buildProps).withInputStream { stream -> props.load(stream) }
version = version + '.' + props.get(buildProp)
archiveName = archiveName.toLowerCase()
doFirst {
def props = new Properties()
file(buildProps).withInputStream { stream -> props.load(stream) }
project.version = version + '.' + props.get(buildProp)
archiveName = archiveName.toLowerCase()
}
manifest.attributes('Main-Class': mainClassName)
}

Expand Down Expand Up @@ -83,6 +85,7 @@ task deploy(dependsOn: ['build', 'copyToDeploy']) {
task release(dependsOn: ['deploy', 'pandoc', 'wrapper']) {
group = "Publishing"
description = "Releases new version."
isRelease = true
}

task pandoc(type: Exec) {
Expand Down
4 changes: 2 additions & 2 deletions buildnumber.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#Wed, 02 Dec 2015 15:38:42 -0800
build=0
#Wed, 16 Dec 2015 15:35:34 -0800
build=1

0 comments on commit ce8833c

Please sign in to comment.