Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit b4a666f

Browse files
committed
fixup! chore: update homebrew script to support linuxbrew
1 parent b627992 commit b4a666f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ci/scripts/bump_homebrew.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ git clone https://github.com/cdr/homebrew-coder
1818

1919
pushd homebrew-coder
2020

21-
branch="coder-cli-release-$tag"
21+
branch="bump-coder-cli-$tag"
2222
git checkout -b "$branch"
2323

2424
if [[ "$GITHUB_TOKEN" != "" ]]; then
2525
git remote set-url origin "https://x-access-token:$GITHUB_TOKEN@github.com/cdr/homebrew-coder"
2626
fi
2727

2828
new_formula="$(cat <<EOF
29-
class Coder < Formula
29+
class CoderCli < Formula
3030
desc "Command-line tool for the Coder remote development platform"
3131
homepage "https://github.com/cdr/coder-cli"
3232
version "$trimmed_tag"
@@ -50,11 +50,11 @@ end
5050
EOF
5151
)"
5252

53-
echo "$new_formula" > coder.rb
53+
echo "$new_formula" > coder-cli.rb
5454

5555
git diff
56-
git add coder.rb
57-
git commit -m "chore: bump Coder CLI to $tag"
56+
git add coder-cli.rb
57+
git commit -m "chore: bump coder-cli to $tag"
5858
git push --set-upstream origin "$branch"
5959

6060
gh pr create --fill

0 commit comments

Comments
 (0)