mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-08-10 00:52:16 +00:00
fix(brew): update version and fix ci push events (#2708)
This commit is contained in:
3
.github/workflows/CI.yml
vendored
3
.github/workflows/CI.yml
vendored
@@ -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 }}"
|
||||
|
||||
@@ -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@"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user