Skip to content

Commit

Permalink
fix(brew): update version and fix ci push events (#2708)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Jun 16, 2024
1 parent a5a1988 commit fe22c2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
2 changes: 1 addition & 1 deletion packaging/sunshine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class @PROJECT_NAME@ < Formula
homepage "@PROJECT_HOMEPAGE_URL@"
url "@GITHUB_CLONE_URL@",
tag: "@GITHUB_TAG@"
version "@PROJECT_VERSION@"
version "@BUILD_VERSION@"
license all_of: ["GPL-3.0-only"]
head "@GITHUB_CLONE_URL@", branch: "@GITHUB_DEFAULT_BRANCH@"

Expand Down

0 comments on commit fe22c2f

Please sign in to comment.