Return back git commanhs

pull/494/head
Aleksandr Shmaraiev 2023-04-19 11:16:05 +03:00
parent 1d63bb9da9
commit be98e292c0
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,9 @@ set -e
# only exit with zero if all commands of the pipeline exit successfully
set -o pipefail
git branch
git remote add origin https://github.com/eclipse-che/che-server.git
git fetch
git branch
BRANCH_NAME=$(echo $SOURCE_REF | sed 's#refs/heads/##')
PR_IMAGE_TAG=$(git show origin/pr-number-${BRANCH_NAME}:shared-files/pr-image-tag)