1
0
Fork 0
mirror of synced 2024-09-29 08:41:16 +13:00

Fix commands

This commit is contained in:
Adria Navarro 2023-07-05 10:34:11 +02:00
parent 365bf5bf96
commit 72b1cda7d1

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)