Fetch tags when building in ci to display proper versions
This commit is contained in:
parent
bd351550ee
commit
b79593a372
1 changed files with 10 additions and 0 deletions
10
.drone.yml
10
.drone.yml
|
@ -31,6 +31,11 @@ trigger:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: fetch-tags
|
||||||
|
image: docker:git
|
||||||
|
commands:
|
||||||
|
- git fetch --tags
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: node:13
|
image: node:13
|
||||||
pull: true
|
pull: true
|
||||||
|
@ -106,6 +111,11 @@ trigger:
|
||||||
- tag
|
- tag
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: fetch-tags
|
||||||
|
image: docker:git
|
||||||
|
commands:
|
||||||
|
- git fetch --tags
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: node:13
|
image: node:13
|
||||||
pull: true
|
pull: true
|
||||||
|
|
Loading…
Reference in a new issue