Commit eb115a23 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix: migrate deprecated CI_BUILD_REF_NAME variable

parent 8c0357a3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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: