diff options
| author | Aidan Skinner <aidan@apache.org> | 2008-12-11 15:00:46 +0000 |
|---|---|---|
| committer | Aidan Skinner <aidan@apache.org> | 2008-12-11 15:00:46 +0000 |
| commit | f54d88f90490a2e7eaf93f5e11d788aeeb858390 (patch) | |
| tree | 124b260a9d8b4b65f758588fb4a89a41a41c08a5 | |
| parent | ec44ebc9affdaea7a8d8ac75a9063c306d0f19fa (diff) | |
| download | qpid-python-f54d88f90490a2e7eaf93f5e11d788aeeb858390.tar.gz | |
Make .Net 0-8 build a little nicer, move timestamp to property and make the zip unpack to a subdir instead of cwd
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@725708 13f79535-47bb-0310-9956-ffa450edef68
| -rw-r--r-- | dotnet/default.build | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dotnet/default.build b/dotnet/default.build index f719d82c80..fcbfafcb6b 100644 --- a/dotnet/default.build +++ b/dotnet/default.build @@ -206,16 +206,17 @@ <call target="build"/>
<property name="build.date" value="${datetime::now()}"/>
+ <property name="build.timestamp" value="${framework::get-target-framework()}-${datetime::get-year(build.date)}${datetime::get-month(build.date)}${datetime::get-day(build.date)}"/>
- <zip zipfile="${build.dir}/Qpid.NET-${framework::get-target-framework()}-${datetime::get-year(build.date)}${datetime::get-month(build.date)}${datetime::get-day(build.date)}.zip">
- <fileset basedir="${build.dir}">
+ <zip zipfile="${build.dir}/Qpid.NET-${build.timestamp}.zip">
+ <fileset basedir="${build.dir}" prefix="Qpid.NET-${build.timestamp}">
<include name="**/*.*"/>
<exclude name="**/*.Tests.*"/>
<exclude name="**/nunit.framework.dll"/>
<exclude name="**/*.exe"/>
</fileset>
- <fileset basedir="${base.dir}">
+ <fileset basedir="${base.dir}" prefix="Qpid.NET-${build.timestamp}">
<include name="LICENSE.txt"/>
<include name="NOTICE.txt"/>
<include name="README.txt"/>
|
