Skip to content

Commit c46b733

Browse files
committed
use CWL version 1.2 everywhere
1 parent ec5285f commit c46b733

File tree

29 files changed

+33
-50
lines changed

29 files changed

+33
-50
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,11 @@ are still working after the change.
148148
Use “tool description” not “tool wrapper” for describing the first argument
149149
given to the `cwl-runner` or `cwltool` commands.
150150

151+
151152
### Code Examples
152153

154+
All CWL documents should be version 1.2 unless there is a very good reason otherwise.
155+
153156
To include code into a Markdown file you have two options. For external files use
154157
the following command:
155158

src/_includes/cwl/additional-arguments-and-parameters/arguments.cwl

100644100755
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env cwl-runner
2-
3-
cwlVersion: v1.0
2+
cwlVersion: v1.2
43
class: CommandLineTool
54
label: Example trivial wrapper for Java 9 compiler
65
hints:

src/_includes/cwl/creating-files-at-runtime/createfile.cwl

100644100755
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#!/usr/bin/env cwl-runner
2+
cwlVersion: v1.2
13
class: CommandLineTool
2-
cwlVersion: v1.0
34
baseCommand: ["sh", "example.sh"]
45

56
requirements:

src/_includes/cwl/custom-types/custom-types.cwl

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env cwl-runner
2-
cwlVersion: v1.0
2+
cwlVersion: v1.2
33
class: CommandLineTool
44

55
requirements:

src/_includes/cwl/environment-variables/env.cwl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env cwl-runner
2-
3-
cwlVersion: v1.0
2+
cwlVersion: v1.2
43
class: CommandLineTool
54
baseCommand: env
65
requirements:

src/_includes/cwl/expressions/expression.cwl

100644100755
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env cwl-runner
2-
3-
cwlVersion: v1.0
2+
cwlVersion: v1.2
43
class: CommandLineTool
54
baseCommand: echo
65

src/_includes/cwl/file-formats/metadata_example.cwl

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env cwl-runner
2-
cwlVersion: v1.0
2+
cwlVersion: v1.2
33
class: CommandLineTool
44

55
label: An example tool demonstrating metadata.

src/_includes/cwl/inputs/array-inputs.cwl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env cwl-runner
2-
3-
cwlVersion: v1.0
2+
cwlVersion: v1.2
43
class: CommandLineTool
54
inputs:
65
filesA:

src/_includes/cwl/inputs/inp.cwl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env cwl-runner
2-
3-
cwlVersion: v1.0
2+
cwlVersion: v1.2
43
class: CommandLineTool
54
baseCommand: echo
65
inputs:

src/_includes/cwl/inputs/record.cwl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env cwl-runner
2-
3-
cwlVersion: v1.0
2+
cwlVersion: v1.2
43
class: CommandLineTool
54
inputs:
65
dependent_parameters:

0 commit comments

Comments
 (0)