Skip to content

Commit

Permalink
Update version number.
Browse files Browse the repository at this point in the history
Add release note generation.
Add GitHub deploy.
  • Loading branch information
joniles committed Nov 8, 2017
1 parent d278c1c commit ad5e84c
Show file tree
Hide file tree
Showing 10 changed files with 57 additions and 20 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# Changelog

## 6.2.2 (git master)
## 7.0.0 (git master)
* Added support for reading recurring exceptions from MPP and MSPDI files.
* Updated RecurringTask class interface (Note: this is a breaking API change)
* MSPDI writer now uses save version 14 by default (Note: this may affect applications which consume MSPDI files you generate)
* Correctly handle MSPDI files with Byte Order Marks.
* Handle MSPDI files with varying namespaces.
* Improve robustness Merlin file reader.
* Improve extraction of task start and finish dates from PMXML files only containing partial data.
* Prevent POI from closing the input stream when using UniversalProjectReader
* Cannot read mpp file using getProjectReader.

## 6.2.1 (11/10/2017)
* Gracefully handle corrupt MPP files.
Expand Down
22 changes: 20 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<target name="init-props" description="Initialize properties">
<tstamp />

<property name="current.version" value="6.2.1" />
<property name="current.version" value="7.0.0" />
<property name="ikvm.dir" value="${basedir}/../ikvm-8.0.5449.1" />
<property name="nuget.dir" value="${basedir}/../nuget" />
<property name="ruby.dir" value="C:/Ruby21"/>
Expand Down Expand Up @@ -396,7 +396,13 @@
<xslt in="${basedir}/maven/src/changes/changes.xml" out="${basedir}/CHANGELOG.md" style="${basedir}/doc/changelog.xsl"/>
</target>

<target name="archive" depends="jar,ikvm-dll,vs-dll,changelog" description="Create library files"/>
<target name="releasenote" depends="init-props" description="Create release.md">
<xslt in="${basedir}/maven/src/changes/changes.xml" out="${basedir}/../release.md" style="${basedir}/doc/releasenote.xsl">
<param name="version" expression="${current.version}"/>
</xslt>
</target>

<target name="archive" depends="jar,ikvm-dll,vs-dll,changelog,releasenote" description="Create library files"/>

<target name="distribute" depends="archive,clean-java,clean-dot-net,nuget-package" description="Create distribution">
<zip zipfile="${distribution}">
Expand Down Expand Up @@ -544,6 +550,18 @@
</exec>
</target>

<target name="github-deploy" depends="init-props" description="Deploy to GitHub">
<exec executable="hub">
<arg line="tag v${current.version}" />
</exec>
<exec executable="hub">
<arg line="push origin v${current.version}" />
</exec>
<exec executable="hub">
<arg line='release create v${current.version} -a ${distribution} -f ${basedir}/../release.md'/>
</exec>
</target>

<!-- Adapted from http://stackoverflow.com/questions/2974106/how-to-lookup-the-latest-git-commit-hash-from-an-ant-build-script -->
<target name="git.revision" description="Store git revision in ${repository.version}">
<exec executable="git" outputproperty="git.revision" failifexecutionfails="false" errorproperty="">
Expand Down
10 changes: 10 additions & 0 deletions doc/releasenote.xsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:param name="version"/>
<xsl:output indent="no" method="text" omit-xml-declaration="yes"/>
<xsl:template match="/">Version <xsl:value-of select="$version"/><xsl:value-of select="text()"/><xsl:text>&#xa;</xsl:text>
<xsl:for-each select="/document/body/release[@version=$version]">
<xsl:for-each select="action">* <xsl:value-of select="text()"/><xsl:text>&#xa;</xsl:text></xsl:for-each>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
2 changes: 1 addition & 1 deletion maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<artifactId>mpxj</artifactId>

<!-- Note - this is automatically updated by the ant build ... don't remove the MPXJ comment! -->
<!-- MPXJ --><version>6.2.1</version>
<!-- MPXJ --><version>7.0.0</version>

<name>MPXJ</name>
<url>http://mpxj.org</url>
Expand Down
6 changes: 3 additions & 3 deletions src.net/MpxjConvert/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("6.2.1.0")]
[assembly: AssemblyVersion("6.2.1.0")]
[assembly: AssemblyFileVersion("6.2.1.0")]
// [assembly: AssemblyVersion("7.0.0.0")]
[assembly: AssemblyVersion("7.0.0.0")]
[assembly: AssemblyFileVersion("7.0.0.0")]
6 changes: 3 additions & 3 deletions src.net/MpxjCreate/MpxjCreate/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("6.2.1.0")]
[assembly: AssemblyVersion("6.2.1.0")]
[assembly: AssemblyFileVersion("6.2.1.0")]
// [assembly: AssemblyVersion("7.0.0.0")]
[assembly: AssemblyVersion("7.0.0.0")]
[assembly: AssemblyFileVersion("7.0.0.0")]
6 changes: 3 additions & 3 deletions src.net/MpxjQuery/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("6.2.1.0")]
[assembly: AssemblyVersion("6.2.1.0")]
[assembly: AssemblyFileVersion("6.2.1.0")]
// [assembly: AssemblyVersion("7.0.0.0")]
[assembly: AssemblyVersion("7.0.0.0")]
[assembly: AssemblyFileVersion("7.0.0.0")]
6 changes: 3 additions & 3 deletions src.net/MpxjTest/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("6.2.1.0")]
[assembly: AssemblyVersion("6.2.1.0")]
[assembly: AssemblyFileVersion("6.2.1.0")]
// [assembly: AssemblyVersion("7.0.0.0")]
[assembly: AssemblyVersion("7.0.0.0")]
[assembly: AssemblyFileVersion("7.0.0.0")]
6 changes: 3 additions & 3 deletions src.net/MpxjUtilities/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("6.2.1.0")]
[assembly: AssemblyVersion("6.2.1.0")]
[assembly: AssemblyFileVersion("6.2.1.0")]
// [assembly: AssemblyVersion("7.0.0.0")]
[assembly: AssemblyVersion("7.0.0.0")]
[assembly: AssemblyFileVersion("7.0.0.0")]
2 changes: 1 addition & 1 deletion src.ruby/mpxj/lib/mpxj/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MPXJ gem module
module MPXJ
# MPXJ gem version number
VERSION = "6.2.1"
VERSION = "7.0.0"
end

0 comments on commit ad5e84c

Please # to comment.