diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-02-18 17:36:07 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-02-18 17:36:07 +0700 |
commit | f5df0e6e0e69ca1e12a7ad135aee65fe934de64a (patch) | |
tree | 5e79ba6c8f8e5fc74084da826da07067abea5313 | |
parent | Add a bare bones .gitignore (diff) | |
download | BouncyCastle.NET-ed25519-release-1.8.0-beta.1.tar.xz |
Changes to build system in preparation for beta release release-1.8.0-beta.1
-rw-r--r-- | crypto/NBuild.build | 41 | ||||
-rw-r--r-- | crypto/checklist.txt | 8 | ||||
-rw-r--r-- | crypto/src/AssemblyInfo.cs | 2 |
3 files changed, 27 insertions, 24 deletions
diff --git a/crypto/NBuild.build b/crypto/NBuild.build index 033c7079f..01dc0ab3a 100644 --- a/crypto/NBuild.build +++ b/crypto/NBuild.build @@ -2,12 +2,8 @@ <project name="bccrypto-csharp" default="compile-release" basedir="."> <!-- Source control properties --> - <property name="CVSROOT" - value=":pserver:anonymous@cvs.bouncycastle.org:/home/users/bouncy/cvsroot" /> - <property name="sourcecontrol.usesharpcvslib" value="false" /> - <property name="CVSCMD" value="C:/Program Files (x86)/CVSNT/cvs.exe" /> - <!--<property name="CVSCMD" value="C:/Program Files/CVSNT/cvs.exe" />--> - <!--<property name="CVSCMD" value="/usr/bin/cvs" />--> + <property name="GITURL" value="bcgit@git.bouncycastle.org:bc-csharp" /> + <property name="GITCMD" value="C:/Program Files (x86)/Git/bin/git.exe" /> <property name="api-debugpath" value="./api/bin/debug" /> <property name="api-releasepath" value="./api/bin/release" /> @@ -20,12 +16,12 @@ <property name="dist-path" value="./dist"/> <!-- Version --> - <property name="version" value="1.7"/> + <property name="version" value="1.8.0-beta.1"/> <property name="name" value="BouncyCastle.Crypto"/> <property name="OPTIONAL_STRONG_NAME" value="" /> <if test="${property::exists('use-strong-name') and use-strong-name}"> - <echo>Compile targets will be signed using keyfile ../BouncyCastle.snk</echo> + <echo>Compile targets will be signed using keyfile ../BouncyCastle.snk</echo> <property name="OPTIONAL_STRONG_NAME" value=";STRONG_NAME" /> </if> @@ -206,31 +202,38 @@ <target name="dist" depends="init"> <echo message="Building signed assemblies for release ${version}"/> <mkdir dir="${dist-path}"/> - <cvs-export cvsfullpath="${CVSCMD}" cvsroot="${CVSROOT}" - destination="${dist-path}/src" module="csharp" revision="release-${string::replace(version,'.','_')}" /> - <!-- One version with everything --> + <exec program="${GITCMD}" verbose="true" workingdir=".."> + <arg value="archive" /> + <arg line="--format zip" /> + <arg value="--output" /> + <arg path="${dist-path}/bccrypto-csharp-${version}-src.zip" /> + <arg value="--prefix" /> + <arg value="bccrypto-csharp-${version}/" /> + <arg value="--remote" /> + <arg value="${GITURL}" /> + <arg value="release-${version}" /> + <arg value="-9" /> + </exec> + + <unzip zipfile="${dist-path}/bccrypto-csharp-${version}-src.zip" todir="${dist-path}/src" /> + <csc target="library" noconfig="true" nostdlib="${enable-nostdlib}" output="${dist-path}/${name}.dll" verbose="false" debug="false" optimize="true" define="${compile-defines};STRONG_NAME"> <sources> - <include name="${dist-path}/src/csharp/crypto/${api-srcpath}/**/*.cs"/> - <include name="${dist-path}/src/csharp/crypto/${bzip2-srcpath}/**/*.cs"/> + <include name="${dist-path}/src/bccrypto-csharp-${version}/crypto/${api-srcpath}/**/*.cs"/> + <include name="${dist-path}/src/bccrypto-csharp-${version}/crypto/${bzip2-srcpath}/**/*.cs"/> </sources> <references> <include name="mscorlib.dll"/> <include name="System.dll"/> </references> </csc> - <zip zipfile="${dist-path}/bccrypto-net-${version}-bin.zip"> + <zip zipfile="${dist-path}/bccrypto-csharp-${version}-bin.zip" ziplevel="9"> <fileset basedir="${dist-path}"> <include name="${name}.dll" /> </fileset> </zip> - <zip zipfile="${dist-path}/bccrypto-net-${version}-src.zip"> - <fileset basedir="${dist-path}/src"> - <include name="**/*"/> - </fileset> - </zip> </target> diff --git a/crypto/checklist.txt b/crypto/checklist.txt index 39b8fc4af..0057b6e50 100644 --- a/crypto/checklist.txt +++ b/crypto/checklist.txt @@ -2,15 +2,15 @@ Release Checklist ----------------- -- Update to latest from CVS +- Update to latest from git - Run 'nant -t:net-1.1 clean test' - Run 'nant -t:netcf-1.0 clean compile-release' - Edit AssemblyInfo.cs: Change version and check copyright - Edit NBuild.build: Change version - Edit License.html: Check copyright - Edit Readme.html: Add release notes -- Commit changes to CVS -- Tag CVS HEAD with "release-${version}" +- Commit changes to git +- Tag git repository with "release-${version}" +- Push changes/tag to git - Place BouncyCastle.snk in parent directory - Run 'nant -t:net-1.1 clean dist' - diff --git a/crypto/src/AssemblyInfo.cs b/crypto/src/AssemblyInfo.cs index 81ca5ffd3..7dd625878 100644 --- a/crypto/src/AssemblyInfo.cs +++ b/crypto/src/AssemblyInfo.cs @@ -29,7 +29,7 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.7.*")] +[assembly: AssemblyVersion("1.8.*")] // // In order to sign your assembly you must specify a key to use. Refer to the |