Skip to content

Commit 8bf4a6d

Browse files
committed
enforce correct github user for homebrew release (relates to #215)
1 parent 9ac99f1 commit 8bf4a6d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

misc/kscript_release.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ export GITHUB_TOKEN=${GH_TOKEN}
7171
# make your tag and upload
7272
cd ${KSCRIPT_HOME}
7373

74+
git config user.email "holgerbrandl@users.noreply.github.com"
75+
76+
7477
#git tag v${kscript_version} && git push --tags
7578
(git diff --exit-code && git tag v${kscript_version}) || echo "could not tag current branch"
7679
git push --tags
@@ -107,6 +110,9 @@ cd $KSCRIPT_HOME && rm -rf kscript_releases_*
107110

108111
git clone git@github.com:holgerbrandl/kscript.git kscript_releases_${kscript_version}
109112
cd kscript_releases_${kscript_version}
113+
114+
git config user.email "holgerbrandl@users.noreply.github.com"
115+
110116
#git checkout --orphan releases
111117
#git reset --hard
112118
#git rm --cached -r .
@@ -182,6 +188,8 @@ cd $KSCRIPT_HOME && rm -rf homebrew-tap
182188
git clone https://github.com/holgerbrandl/homebrew-tap.git
183189
cd homebrew-tap
184190

191+
git config user.email "holgerbrandl@users.noreply.github.com"
192+
185193
archiveMd5=$(shasum -a 256 ${KSCRIPT_ARCHIVE}/kscript-${kscript_version}.zip | cut -f1 -d ' ')
186194

187195
cat - <<EOF > kscript.rb

0 commit comments

Comments
 (0)