Skip to content

Commit

Permalink
fix(build): clean up archives before bottling
Browse files Browse the repository at this point in the history
  • Loading branch information
socsieng committed Oct 7, 2023
1 parent c7e2d0b commit 408db73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bottle.sh
Expand Up @@ -13,6 +13,7 @@ sed_url=`echo $url | sed 's/\\//\\\\\//g'`

version=`echo $version | sed -E 's/^v//g'`

rm sendkeys*.tar.gz
tar zcvf sendkeys.tar.gz --exclude=".git" --exclude=".build" ./

cp $formula_template $formula
Expand All @@ -39,5 +40,4 @@ echo "root_url=https://github.com/socsieng/sendkeys/releases/download/v${version
echo "url=https://github.com/socsieng/sendkeys/releases/download/v${version}/$bottle_rename" >> $GITHUB_OUTPUT
echo "sha=$(shasum -a 256 $bottle_rename | awk '{printf $1}')" >> $GITHUB_OUTPUT

rm sendkeys*.tar.gz
brew uninstall sendkeys

0 comments on commit 408db73

Please sign in to comment.