There was an error while loading. Please reload this page.
1 parent ea6fac3 commit cdaa125Copy full SHA for cdaa125
.github/build/homebrew-tap-publish.sh
@@ -3,11 +3,8 @@
3
CWD=$(cd $(dirname $0); cd ../../; pwd)
4
VERSION=$(cat $CWD/VERSION)
5
6
-GITHUB_TOKEN=${BREW_REPO_GITHUB_TOKEN}
7
-
8
rm -rf ./homebrew-tap
9
-git clone https://${GITHUB_TOKEN}@github.com/subchen/homebrew-tap.git
10
+git clone https://github.com/subchen/homebrew-tap.git
11
12
curl -fSL https://github.com/subchen/frep/releases/download/v1.3.12/frep-1.3.12-linux-amd64 -o ./frep
13
chmod +x ./frep
@@ -22,4 +19,5 @@ cd homebrew-tap \
22
19
&& git config user.email "subchen@gmail.com" \
23
20
&& git add ./Formula/frep.rb \
24
21
&& git commit -m "Automatic update frep to ${VERSION}" \
+ && git remote set-url origin https://${BREW_REPO_GITHUB_TOKEN}@github.com/subchen/homebrew-tap.git
25
&& git push origin master
0 commit comments