mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 16:00:31 -05:00
Update 2 files
- /templates/build-container.tpl.yml - /scripts/version-number.sh
This commit is contained in:
parent
5979595c9e
commit
78e3521380
2 changed files with 2 additions and 2 deletions
|
|
@ -5,5 +5,5 @@ fi
|
|||
export COMMIT_COUNT=$(git rev-list --count HEAD)
|
||||
export BUILD_NUMBER=$CI_PIPELINE_ID
|
||||
export VERSION="$VERSION.$COMMIT_COUNT.$BUILD_NUMBER"
|
||||
echo $VERSION > version.env
|
||||
echo "VERSION=$VERSION" > version.env
|
||||
cat version.env
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ stages:
|
|||
- build
|
||||
|
||||
version:
|
||||
image: ubuntu:latest
|
||||
image: ruby:latest
|
||||
stage: versioning
|
||||
script:
|
||||
- ./scripts/version-number.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue