Skip to content

Commit 541f6d9

Browse files
committed
Update README
1 parent 79ff4a5 commit 541f6d9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ resources:
5252
* git:branch - name of the current branch
5353
* git:isDirty - true if the workspace is currently dirty
5454
* git:describe / git:describeLight - see below
55+
* git:user - The user's name
56+
* git:email - The user's email
57+
* git:tags - The tag pointing to the current commit
58+
* git:message - Full git commit message
59+
* git:messageSubject - Only the suject of the message, as `git log -1 --pretty=%s`
60+
* git:messageBody - Only the body of the message, as `git log -1 --pretty=%b`
5561

5662
## describe and describeLight
5763
The describe (`${git:describe}`) and the describeLight (`${git:describeLight}`) variables are both used to return the most recent tag of the repo. However the difference is that whilst `describe` evaluates to `git describe --always`, the `describeLight` variable evaluates to `git describe --always --tags`.

0 commit comments

Comments
 (0)