fix(brew): update version and fix ci push events (#2708)

This commit is contained in:
ReenigneArcher
2024-06-16 19:21:23 -04:00
committed by GitHub
parent a5a1988cff
commit fe22c2f69c
2 changed files with 3 additions and 2 deletions

View File

@@ -522,10 +522,11 @@ jobs:
# we will publish the formula with the release tag
tag="${{ needs.setup_release.outputs.release_tag }}"
else
tag="${{ github.sha }}"
tag="${{ github.ref_name }}"
fi
else
echo "This is a PR event"
build_version="0.0.${{ github.event.number }}"
clone_url=${{ github.event.pull_request.head.repo.clone_url }}
branch="${{ github.event.pull_request.head.ref }}"
default_branch="${{ github.event.pull_request.head.repo.default_branch }}"