Fetch tags when building in ci to display proper versions
This commit is contained in:
+10
@@ -31,6 +31,11 @@ trigger:
|
||||
- push
|
||||
|
||||
steps:
|
||||
- name: fetch-tags
|
||||
image: docker:git
|
||||
commands:
|
||||
- git fetch --tags
|
||||
|
||||
- name: build
|
||||
image: node:13
|
||||
pull: true
|
||||
@@ -106,6 +111,11 @@ trigger:
|
||||
- tag
|
||||
|
||||
steps:
|
||||
- name: fetch-tags
|
||||
image: docker:git
|
||||
commands:
|
||||
- git fetch --tags
|
||||
|
||||
- name: build
|
||||
image: node:13
|
||||
pull: true
|
||||
|
||||
Reference in New Issue
Block a user