fix ref name context variable
This commit is contained in:
parent
77140598bf
commit
896956f6fa
2 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@ set -e
|
||||||
|
|
||||||
cd build/LatexPackagesBuild
|
cd build/LatexPackagesBuild
|
||||||
|
|
||||||
REMOTE_BRANCH=$(git branch -a | sed -n '/remotes\/origin\/.*-build/p' | sed 's/remotes\/origin\///g' | sed 's/-build//g' | sed 's/[[:space:]]//g' | sed -n "/^${CI_COMMIT_REF_NAME}$/p")
|
REMOTE_BRANCH=$(git branch -a | sed -n '/remotes\/origin\/.*-build/p' | sed 's/remotes\/origin\///g' | sed 's/-build//g' | sed 's/[[:space:]]//g' | sed -n "/^${REF_NAME}$/p")
|
||||||
|
|
||||||
echo ${REMOTE_BRANCH}
|
echo ${REMOTE_BRANCH}
|
||||||
|
|
||||||
|
|
|
@ -22,8 +22,8 @@ jobs:
|
||||||
- name: Checkout correct branch in build repository
|
- name: Checkout correct branch in build repository
|
||||||
run: |
|
run: |
|
||||||
.ci/setup_build_repo_branch.sh
|
.ci/setup_build_repo_branch.sh
|
||||||
cd build/LatexPackagesBuild
|
env:
|
||||||
git ls-remote --heads
|
REF_NAME: ${{ github.ref_name }}
|
||||||
- name: Build packages
|
- name: Build packages
|
||||||
run: |
|
run: |
|
||||||
.ci/ci_build.sh # Note that this includes pushing to the build mirror
|
.ci/ci_build.sh # Note that this includes pushing to the build mirror
|
||||||
|
|
Loading…
Reference in a new issue