From 49c387ba2a1e426c829bf5e678ce8d347dbf5955 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Wed, 28 Oct 2015 15:39:19 -0700 Subject: [PATCH] document `COMMIT_SHORT` injection notation --- docs/build/env.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/build/env.md b/docs/build/env.md index ea259094f..2d0f7466e 100644 --- a/docs/build/env.md +++ b/docs/build/env.md @@ -31,7 +31,8 @@ Drone also injects `CI_` prefixed variables for compatibility with other systems A subset of variables may be injected directly into the Yaml at runtime using the `$$` notation: -* `$$COMMIT` git sha for the current build, `--short` format +* `$$COMMIT_SHORT` git sha for the current build, `--short` format +* `$$COMMIT` git sha for the current build, long format * `$$BRANCH` git branch for the current build * `$$REPO` repository full name (in `owner/name` format) * `$$TAG` tag name