Permalink
Browse files

Updated changelog task in build script

  • Loading branch information...
1 parent 93909af commit c31f14c209f8d898f898d46aae01a2b363f883d9 Nicholas C. Zakas committed Sep 3, 2011
Showing with 7 additions and 8 deletions.
  1. +3 −4 CHANGELOG
  2. +4 −4 build.xml
View
@@ -1,7 +1,3 @@
-Next (not yet released)
-
-* Moved documentation into docs directory.
-
July 29, 2011 - v0.5.0
* Merged in changes for a compact CLI output format (fixes #88)
@@ -67,3 +63,6 @@ June 15, 2011 - v0.1.0
* Initial release
+
+
+
View
@@ -57,11 +57,10 @@
<arg line="tag"/>
</exec>
<script language="javascript"><![CDATA[
- //get the two most recent tags to get the diff
+ //get the most recent tag to get the diff
var tags = csslint.getProperty("git.tag").replace("\r", "").split("\n"),
- lastTag = tags[tags.length-1],
- priorTag = tags[tags.length-2];
- csslint.setProperty("git.log.range", priorTag + ".." + lastTag);
+ lastTag = tags[tags.length-1];
+ csslint.setProperty("git.log.range", lastTag + "..HEAD");
]]></script>
<!-- git log -pretty=format:'* %s (%an)' v0.4.0..v0.5.0-->
@@ -73,6 +72,7 @@
<header trimleading="yes">${SIMPLE_DATE} - v${csslint.version}
${git.changelog}
+
</header>
<fileset dir="." includes="CHANGELOG" />
</concat>

0 comments on commit c31f14c

Please sign in to comment.