Skip to content

Commit d241e27

Browse files
authored
Merge pull request #129 from arduino/per1234/suppress-tag-error
Suppress innocuous error message from tag determination
2 parents aa137d4 + eaa1267 commit d241e27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: DistTasks.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ tasks:
191191

192192
vars:
193193
TAG:
194-
sh: echo "`git describe --tags --abbrev=0`"
194+
sh: echo "`git describe --tags --abbrev=0 2> /dev/null`"
195195
TIMESTAMP_SHORT:
196196
sh: echo "{{now | date "20060102"}}"
197197
VERSION: "{{if .CUSTOM_VERSION}}{{.CUSTOM_VERSION}}-{{.TIMESTAMP_SHORT}}{{else}}{{.TAG}}{{end}}"

0 commit comments

Comments
 (0)