Skip to content
Snippets Groups Projects
Commit 93301983 authored by Alena Petraki's avatar Alena Petraki :nail_care_tone1:
Browse files

Для получения текущей версии используется образ bitnami/git

parent 101a41b0
No related branches found
No related tags found
No related merge requests found
Pipeline #51622 passed with stage
in 15 seconds
......@@ -4,7 +4,7 @@ stages:
# Инициация процесса релиза. Запускается вручную или из восходящего конвейера
get_current_version:
image: alpine:latest
image: bitnami/git:latest
stage: pre-release
rules:
- if: '$CI_PIPELINE_SOURCE == "pipeline" && $PREPARE_RELEASE == "true"'
......@@ -13,8 +13,6 @@ get_current_version:
variables:
GIT_STRATEGY: clone
GIT_DEPTH: 0
before_script:
- apk --no-cache add git
script:
- echo "Start release for perxis-proto"
- echo CURRENT_VERSION=$(git describe --tags --abbrev=0) >> vars.env
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment