Fix commands
This commit is contained in:
parent
365bf5bf96
commit
72b1cda7d1
|
@ -184,10 +184,10 @@ jobs:
|
|||
cd packages/pro
|
||||
pro_commit=$(git rev-parse HEAD)
|
||||
|
||||
branch=${{ github.base_ref || github.ref_name }}
|
||||
branch="${{ github.base_ref || github.ref_name }}"
|
||||
echo "Running on branch `$branch` (base_ref=${{ github.base_ref }}, ref_name=${{ github.head_ref }})"
|
||||
|
||||
if [[ "$branch" == "master" ]]; then
|
||||
if [[ $branch == "master" ]]; then
|
||||
base_commit=$(git rev-parse origin/master)
|
||||
else
|
||||
base_commit=$(git rev-parse origin/develop)
|
||||
|
|
Loading…
Reference in New Issue