Skip to content
Snippets Groups Projects
Commit eb115a23 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix: migrate deprecated CI_BUILD_REF_NAME variable

parent 8c0357a3
No related branches found
No related tags found
No related merge requests found
......@@ -504,7 +504,7 @@ variables:
# 3: Git commit, tag and push
log_info "--- git push commit and tag..."
git push "$git_auth_url" "$CI_BUILD_REF_NAME"
git push "$git_auth_url" "$CI_COMMIT_REF_NAME"
git push "$git_auth_url" --tags
# 4: build new version distribution
......@@ -844,7 +844,7 @@ py-release:
script:
- git config --global user.email "$GITLAB_USER_EMAIL"
- git config --global user.name "$GITLAB_USER_LOGIN"
- git checkout -B $CI_BUILD_REF_NAME
- git checkout -B $CI_COMMIT_REF_NAME
- configure_scm_auth
- _release
artifacts:
......
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