Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
release 0.18.0
  • Loading branch information
kimchy committed Oct 26, 2011
1 parent 0cde90f commit 3544b07
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions build.gradle
Expand Up @@ -11,7 +11,7 @@ SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
buildTimeStr = sdf.format(buildTime)

versionNumber = '0.18.0-SNAPSHOT'
versionNumber = '0.18.0'

explodedDistDir = new File(distsDir, 'exploded')
explodedDistLibDir = new File(explodedDistDir, 'lib')
Expand Down Expand Up @@ -189,14 +189,14 @@ task tar(type: Tar, dependsOn: ['explodedDist']) {


task deb(dependsOn: ['explodedDist']) << {
ant.taskdef(name: "deb", classname: "org.vafer.jdeb.ant.DebAntTask", classpath: configurations.jdeb.asPath )
ant.copy(todir: "${distsDir}/debian") {
ant.taskdef(name: "deb", classname: "org.vafer.jdeb.ant.DebAntTask", classpath: configurations.jdeb.asPath)
ant.copy(todir: "${distsDir}/debian") {
fileset(dir: "pkg/debian/control")
filterset(begintoken: "[[", endtoken: "]]"){
filter(token: "version", value: "${version}")
filterset(begintoken: "[[", endtoken: "]]") {
filter(token: "version", value: "${version}")
}
}
ant.deb(destfile: "${distsDir}/${archivesBaseName}-${version}-1_all.deb", control: "${distsDir}/debian", verbose: "true"){
ant.deb(destfile: "${distsDir}/${archivesBaseName}-${version}-1_all.deb", control: "${distsDir}/debian", verbose: "true") {
tarfileset(dir: explodedDistDir, prefix: "/usr/share/elasticsearch", includes: "*.txt, *.textile", username: "root", group: "root")
tarfileset(dir: explodedDistBinDir, prefix: "/usr/share/elasticsearch/bin", excludes: "*.bat", filemode: "755", username: "root", group: "root")
tarfileset(dir: explodedDistLibDir, prefix: "/usr/share/elasticsearch/lib", includes: "*.jar, sigar/*", username: "root", group: "root")
Expand Down
Expand Up @@ -35,7 +35,7 @@ public class Version {
// the (internal) format of the id is there so we can easily do after/before checks on the id

public static final int V_0_18_0_ID = /*00*/180099;
public static final Version V_0_18_0 = new Version(V_0_18_0_ID, true);
public static final Version V_0_18_0 = new Version(V_0_18_0_ID, false);

public static final Version CURRENT = V_0_18_0;

Expand Down

0 comments on commit 3544b07

Please sign in to comment.