Fix commands

This commit is contained in:
Adria Navarro 2023-07-05 10:34:11 +02:00
parent 365bf5bf96
commit 72b1cda7d1
1 changed files with 2 additions and 2 deletions

View File

@ -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)