fixed version tags
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Mauro Torrez 2019-09-18 14:53:59 -03:00
parent 1d1d2d925a
commit 1c48837253

View File

@ -18,14 +18,12 @@ steps:
- name: version-minimal - name: version-minimal
image: debian:buster-slim image: debian:buster-slim
commands: commands:
- bash -xc 'source unit/version && export NXT_VERSION && env && echo -n "$${NXT_VERSION}-minimal" > .tags && cat .tags' - bash -c 'source unit/version && export NXT_VERSION && echo -n "$${NXT_VERSION}-minimal" > .tags'
- name: latest-minimal - name: latest-minimal
image: debian:buster-slim image: debian:buster-slim
commands: commands:
- bash - bash -c 'echo -n ",latest-minimal" >> .tags'
- -c
- source unit/version && echo -n ",latest-minimal" >> .tags
when: when:
branch: branch:
- master - master
@ -46,12 +44,12 @@ steps:
- name: version-php7.3 - name: version-php7.3
image: debian:buster-slim image: debian:buster-slim
commands: commands:
- bash -c 'source unit/version && echo -n "${NXT_VERSION}-php7.3" > .tags' - bash -c 'source unit/version && export NXT_VERSION && echo -n "$${NXT_VERSION}-php7.3" > .tags'
- name: latest-php7.3 - name: latest-php7.3
image: debian:buster-slim image: debian:buster-slim
commands: commands:
- bash -c 'source unit/version && echo -n ",latest-php7.3" >> .tags' - bash -c 'echo -n ",latest-php7.3" >> .tags'
when: when:
branch: branch:
- master - master