From ce4e187cbcb1db74be0ac02a9515f56b41757f60 Mon Sep 17 00:00:00 2001 From: jaedle Date: Mon, 19 Aug 2019 20:59:02 +0200 Subject: [PATCH] show documentation of version 1, add deprecation notice --- docs/taskfile_versions.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/taskfile_versions.md b/docs/taskfile_versions.md index 9b76f17d..49101303 100644 --- a/docs/taskfile_versions.md +++ b/docs/taskfile_versions.md @@ -15,7 +15,23 @@ available, but not `3.0.0+`. ## Version 1 -Is deprecated and can not be used anymore. +*Taskfiles with Version `1` are not available on Task >= `v3.0.0` anymore.* + +In the first version of the `Taskfile`, the `version:` key was not available, +because the tasks was in the root of the YAML document. Like this: + +```yaml +echo: + cmds: + - echo "Hello, World!" +``` + +The variable priority order was also different: + +1. Call variables +2. Environment +3. Task variables +4. `Taskvars.yml` variables ## Version 2.0