1
0
Fork 0
mirror of synced 2024-09-29 16:51:33 +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 cd packages/pro
pro_commit=$(git rev-parse HEAD) 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 }})" 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) base_commit=$(git rev-parse origin/master)
else else
base_commit=$(git rev-parse origin/develop) base_commit=$(git rev-parse origin/develop)