diff --git a/COPYING b/COPYING new file mode 100644 index 0000000000..cd3031572b --- /dev/null +++ b/COPYING @@ -0,0 +1 @@ +Copyright (C) 2016 Sadayuki Furuhashi diff --git a/build.gradle b/build.gradle index 5afca03687..9e736518ef 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ apply plugin: 'com.github.johnrengelman.shadow' allprojects { group = 'io.digdag' - version = '0.2.0' + version = '0.2.1' apply plugin: 'java' } @@ -131,14 +131,6 @@ project(':digdag-cli') { into dest } - task versionFile << { - File f = file("src/main/resources/digdag/cli/version.txt") - if (f.text != rootProject.version) { - f.write(rootProject.version) - } - } - processResources.dependsOn("versionFile") - //publishing { // publications { // shadowJar(MavenPublication) { @@ -249,14 +241,14 @@ task releaseCheck << { if (!file("digdag-docs/src/releases/release-${project.version}.rst").getText().contains("${project.version}")) { throw new GradleException("Release note for ${project.version} doesn't exist") } - if (!file("digdag-docs/src/releases.rst").getText().contains("releases-${project.version}")) { - throw new GradleException("digdag-docs/src/releases.rst doesn't include releases-${project.version}") + if (!file("digdag-docs/src/releases.rst").getText().contains("release-${project.version}")) { + throw new GradleException("digdag-docs/src/releases.rst doesn't include release-${project.version}") } String date = new Date().format("yyyy-MM-dd") - if (!file("digdag-docs/src/releases/releases-${project.version}.rst").getText().contains(date)) { - throw new GradleException("digdag-docs/src/releases/releases-${project.version}.rst doesn't include today's releases date") + if (!file("digdag-docs/src/releases/release-${project.version}.rst").getText().contains(date)) { + throw new GradleException("digdag-docs/src/releases/release-${project.version}.rst doesn't include today's release date") } - // TODO check git-ls-files includes releases-.rst file - println "Ready. Run 'releases' task." + // TODO check git-ls-files includes release-.rst file + println "Ready. Run 'release' task." } diff --git a/digdag-cli/src/main/java/io/digdag/cli/Main.java b/digdag-cli/src/main/java/io/digdag/cli/Main.java index 00230a973b..6f7094f35a 100644 --- a/digdag-cli/src/main/java/io/digdag/cli/Main.java +++ b/digdag-cli/src/main/java/io/digdag/cli/Main.java @@ -43,10 +43,10 @@ public static void main(String[] args) throws Exception { if (args.length == 1 && args[0].equals("--version")) { - System.out.println("0.2.0"); + System.out.println("0.2.1"); return; } - System.err.println(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss Z").format(new Date()) + ": Digdag v0.2.0"); + System.err.println(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss Z").format(new Date()) + ": Digdag v0.2.1"); MainOptions mainOpts = new MainOptions(); JCommander jc = new JCommander(mainOpts); diff --git a/digdag-cli/src/main/java/io/digdag/cli/SelfUpdate.java b/digdag-cli/src/main/java/io/digdag/cli/SelfUpdate.java index 477024ebb0..29c1bb0680 100644 --- a/digdag-cli/src/main/java/io/digdag/cli/SelfUpdate.java +++ b/digdag-cli/src/main/java/io/digdag/cli/SelfUpdate.java @@ -52,7 +52,7 @@ public SystemExitException usage(String error) System.err.println(""); System.err.println(" Examples:"); System.err.println(" $ digdag selfupdate"); - System.err.println(" $ digdag selfupdate 0.2.0"); + System.err.println(" $ digdag selfupdate 0.2.1"); System.err.println(""); return systemExit(error); } diff --git a/digdag-cli/src/main/resources/digdag/cli/version.txt b/digdag-cli/src/main/resources/digdag/cli/version.txt index 341cf11faf..7dff5b8921 100644 --- a/digdag-cli/src/main/resources/digdag/cli/version.txt +++ b/digdag-cli/src/main/resources/digdag/cli/version.txt @@ -1 +1 @@ -0.2.0 \ No newline at end of file +0.2.1 \ No newline at end of file diff --git a/digdag-docs/src/command_reference.rst b/digdag-docs/src/command_reference.rst index 1409b024e6..63a2bb1fe2 100644 --- a/digdag-docs/src/command_reference.rst +++ b/digdag-docs/src/command_reference.rst @@ -149,7 +149,7 @@ Updates the executable binary file to the latest version or specified version. E .. code-block:: console $ digdag selfupdate - $ digdag selfupdate 0.2.0 + $ digdag selfupdate 0.2.1 Server-mode commands ---------------------------------- diff --git a/digdag-docs/src/index.rst b/digdag-docs/src/index.rst index 9186f9b129..e76fe3e7bc 100644 --- a/digdag-docs/src/index.rst +++ b/digdag-docs/src/index.rst @@ -49,4 +49,5 @@ Table of Contents command_reference.rst python_api.rst ruby_api.rst + releases.rst diff --git a/digdag-docs/src/releases.rst b/digdag-docs/src/releases.rst new file mode 100644 index 0000000000..46aa4c2cfd --- /dev/null +++ b/digdag-docs/src/releases.rst @@ -0,0 +1,9 @@ +Release Notes +================================== + +.. toctree:: + :maxdepth: 1 + + releases/release-0.2.1 + releases/release-0.2.0 + diff --git a/digdag-docs/src/releases/release-0.2.0.rst b/digdag-docs/src/releases/release-0.2.0.rst new file mode 100644 index 0000000000..a7936a9d2a --- /dev/null +++ b/digdag-docs/src/releases/release-0.2.0.rst @@ -0,0 +1,8 @@ +Release 0.2.0 +================================== + +The first release. + +Release Date +------------------ +2016-02-15 diff --git a/digdag-docs/src/releases/release-0.2.1.rst b/digdag-docs/src/releases/release-0.2.1.rst new file mode 100644 index 0000000000..9ce8c69243 --- /dev/null +++ b/digdag-docs/src/releases/release-0.2.1.rst @@ -0,0 +1,12 @@ +Release 0.2.1 +================================== + +General Changes +------------------ + +* Export is now scoped only for child tasks. Store affects all following tasks. +* Added td_load task runner. + +Release Date +------------------ +2016-02-18