Fix version-from-git syntax
Fix "Syntax Error while loading YAML" with proper ordering of block. Change-Id: I8a59856dbc91bec03adf193128ca6cc0ff7a7b54
This commit is contained in:
parent
08724c3134
commit
9ff13740f8
@ -61,8 +61,8 @@
|
|||||||
# Some repos, like storyboard-webclient, do not have any tags. git describe
|
# Some repos, like storyboard-webclient, do not have any tags. git describe
|
||||||
# throws an error in those repos. To be consistent, do a commit count the
|
# throws an error in those repos. To be consistent, do a commit count the
|
||||||
# hard way.
|
# hard way.
|
||||||
- block:
|
- when: not commits_since_tag_output.rc != 0
|
||||||
when: not commits_since_tag_output.rc != 0
|
block:
|
||||||
|
|
||||||
- name: Get commits since the beginning
|
- name: Get commits since the beginning
|
||||||
command: git rev-list HEAD --count
|
command: git rev-list HEAD --count
|
||||||
|
Loading…
Reference in New Issue
Block a user