aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2025-12-05 17:57:01 -0800
committerJeff Halter <868228+jhalter@users.noreply.github.com>2025-12-05 17:57:01 -0800
commite4bdf40802188262c1049edfd41a19bbe76e632e (patch)
tree48f6261aa780d4a895414850ff3278f0f49e3b15 /.github
parentbf27244c41f00ca594898fa1593289aba5071de4 (diff)
Remove client from homebrew release action
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/homebrew-release.yml19
1 files changed, 1 insertions, 18 deletions
diff --git a/.github/workflows/homebrew-release.yml b/.github/workflows/homebrew-release.yml
index c703c86..dfd1f2e 100644
--- a/.github/workflows/homebrew-release.yml
+++ b/.github/workflows/homebrew-release.yml
@@ -16,24 +16,7 @@ jobs:
SHA=$(curl -Ls https://github.com/jhalter/mobius/archive/refs/tags/$TAG.tar.gz | shasum -a 256 | cut -d' ' -f1)
echo "Updating Homebrew formulas for version $TAG with SHA $SHA"
-
- # Update client formula
- echo "Updating client formula..."
- gh api repos/jhalter/homebrew-mobius-hotline-client/contents/mobius-hotline-client.rb \
- --jq '.content' | base64 -d > client.rb
-
- CURRENT_CLIENT_SHA=$(gh api repos/jhalter/homebrew-mobius-hotline-client/contents/mobius-hotline-client.rb --jq '.sha')
-
- sed -i "s|url \"https://github.com/jhalter/mobius/archive/refs/tags/v.*\.tar\.gz\"|url \"https://github.com/jhalter/mobius/archive/refs/tags/$TAG.tar.gz\"|" client.rb
- sed -i "s/version \".*\"/version \"${TAG#v}\"/" client.rb
- sed -i "s/sha256 \".*\"/sha256 \"$SHA\"/" client.rb
-
- gh api repos/jhalter/homebrew-mobius-hotline-client/contents/mobius-hotline-client.rb \
- -X PUT \
- -f message="Update to $TAG" \
- -f content="$(base64 -w 0 client.rb)" \
- -f sha="$CURRENT_CLIENT_SHA"
-
+
# Update server formula
echo "Updating server formula..."
gh api repos/jhalter/homebrew-mobius-hotline-server/contents/mobius-hotline-server.rb \