Skip to content

Commit

Permalink
v0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
frsyuki committed Feb 19, 2016
1 parent 90e3847 commit c71f925
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 20 deletions.
1 change: 1 addition & 0 deletions COPYING
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Copyright (C) 2016 Sadayuki Furuhashi
22 changes: 7 additions & 15 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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-<version>.rst file
println "Ready. Run 'releases' task."
// TODO check git-ls-files includes release-<version>.rst file
println "Ready. Run 'release' task."
}

4 changes: 2 additions & 2 deletions digdag-cli/src/main/java/io/digdag/cli/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion digdag-cli/src/main/java/io/digdag/cli/SelfUpdate.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion digdag-cli/src/main/resources/digdag/cli/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.0
0.2.1
2 changes: 1 addition & 1 deletion digdag-docs/src/command_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------------------------------
Expand Down
1 change: 1 addition & 0 deletions digdag-docs/src/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ Table of Contents
command_reference.rst
python_api.rst
ruby_api.rst
releases.rst

9 changes: 9 additions & 0 deletions digdag-docs/src/releases.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Release Notes
==================================

.. toctree::
:maxdepth: 1

releases/release-0.2.1
releases/release-0.2.0

8 changes: 8 additions & 0 deletions digdag-docs/src/releases/release-0.2.0.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Release 0.2.0
==================================

The first release.

Release Date
------------------
2016-02-15
12 changes: 12 additions & 0 deletions digdag-docs/src/releases/release-0.2.1.rst
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c71f925

Please sign in to comment.