Skip to content

Commit c31f14c

Browse files
author
Nicholas C. Zakas
committed
Updated changelog task in build script
1 parent 93909af commit c31f14c

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

CHANGELOG

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
Next (not yet released)
2-
3-
* Moved documentation into docs directory.
4-
51
July 29, 2011 - v0.5.0
62

73
* Merged in changes for a compact CLI output format (fixes #88)
@@ -67,3 +63,6 @@ June 15, 2011 - v0.1.0
6763

6864
* Initial release
6965

66+
67+
68+

build.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,10 @@
5757
<arg line="tag"/>
5858
</exec>
5959
<script language="javascript"><![CDATA[
60-
//get the two most recent tags to get the diff
60+
//get the most recent tag to get the diff
6161
var tags = csslint.getProperty("git.tag").replace("\r", "").split("\n"),
62-
lastTag = tags[tags.length-1],
63-
priorTag = tags[tags.length-2];
64-
csslint.setProperty("git.log.range", priorTag + ".." + lastTag);
62+
lastTag = tags[tags.length-1];
63+
csslint.setProperty("git.log.range", lastTag + "..HEAD");
6564
]]></script>
6665

6766
<!-- git log -pretty=format:'* %s (%an)' v0.4.0..v0.5.0-->
@@ -73,6 +72,7 @@
7372
<header trimleading="yes">${SIMPLE_DATE} - v${csslint.version}
7473

7574
${git.changelog}
75+
7676
</header>
7777
<fileset dir="." includes="CHANGELOG" />
7878
</concat>

0 commit comments

Comments
 (0)