Skip to content

Commit

Permalink
Working on homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
kebernet committed Apr 21, 2024
1 parent 41dfe55 commit 4e42be0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/deploy-homebrew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ git clone --single-branch --branch "$DESTINATION_BRANCH" "https://$API_TOKEN_GIT
ls -la "$CLONE_DIRECTORY"

mkdir -p "$CLONE_DIRECTORY/$DESTINATION_DIRECTORY"
cd ..
cp -rvf $SOURCE_FILES "$CLONE_DIRECTORY/$DESTINATION_DIRECTORY"

cd $CLONE_DIRECTORY
cd target/$CLONE_DIRECTORY
git add .
git status

git diff-index --quiet HEAD || git commit --message "$COMMIT_MESSAGE"

git config --unset-all http.https://github.com/.extraheader
git push origin --set-upstream "$DESTINATION_BRANCH"

0 comments on commit 4e42be0

Please sign in to comment.