try use git tag instead of hash
This commit is contained in:
@ -38,11 +38,11 @@ build_module:
|
|||||||
script:
|
script:
|
||||||
- sed -i 's/ARCH_FILTER=.*/ARCH_FILTER=linux%/' Makefile
|
- sed -i 's/ARCH_FILTER=.*/ARCH_FILTER=linux%/' Makefile
|
||||||
- make install
|
- make install
|
||||||
- cp -rT "/ioc/modules/counterbox/$(ls -U /ioc/modules/counterbox/ | head -1)" "./counterbox-${CI_COMMIT_SHORT_SHA}"
|
- cp -rT "/ioc/modules/counterbox/$(ls -U /ioc/modules/counterbox/ | head -1)" "./counterbox-${CI_COMMIT_TAG:-$CI_COMMIT_SHORT_SHA}"
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "counterbox-${CI_COMMIT_SHORT_SHA}"
|
name: "counterbox-${CI_COMMIT_TAG:-$CI_COMMIT_SHORT_SHA}"
|
||||||
paths:
|
paths:
|
||||||
- "counterbox-${CI_COMMIT_SHORT_SHA}/*"
|
- "counterbox-${CI_COMMIT_TAG:-$CI_COMMIT_SHORT_SHA}/*"
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
when: always
|
when: always
|
||||||
tags:
|
tags:
|
||||||
|
Reference in New Issue
Block a user