Skip to content

Commit

Permalink
Updated changelog task in build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas C. Zakas committed Sep 3, 2011
1 parent 93909af commit c31f14c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
7 changes: 3 additions & 4 deletions CHANGELOG
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,3 @@
Next (not yet released)

* Moved documentation into docs directory.

July 29, 2011 - v0.5.0 July 29, 2011 - v0.5.0


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


* Initial release * Initial release





8 changes: 4 additions & 4 deletions build.xml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -57,11 +57,10 @@
<arg line="tag"/> <arg line="tag"/>
</exec> </exec>
<script language="javascript"><![CDATA[ <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"), var tags = csslint.getProperty("git.tag").replace("\r", "").split("\n"),
lastTag = tags[tags.length-1], lastTag = tags[tags.length-1];
priorTag = tags[tags.length-2]; csslint.setProperty("git.log.range", lastTag + "..HEAD");
csslint.setProperty("git.log.range", priorTag + ".." + lastTag);
]]></script> ]]></script>


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


${git.changelog} ${git.changelog}

</header> </header>
<fileset dir="." includes="CHANGELOG" /> <fileset dir="." includes="CHANGELOG" />
</concat> </concat>
Expand Down

0 comments on commit c31f14c

Please sign in to comment.