-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: put all CI code in shell files
- Loading branch information
Showing
3 changed files
with
29 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
# Enable debug - print commands | ||
#set -x | ||
|
||
git config --global user.name 'QAware Homebrew Bot' | ||
git config --global user.email 'qaware.homebrew.bot@qaware.de' | ||
git add Aliases README.md | ||
git commit --quiet -m "chore: update Aliases" || { | ||
echo "Nothing to commit or commit failed, will exit now" | ||
exit 0 | ||
} | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
# Enable debug - print commands | ||
#set -x | ||
|
||
# Install yq | ||
# https://github.com/marketplace/actions/yq-portable-yaml-processor | ||
wget -q -O yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 | ||
chmod +x yq | ||
sudo mv yq /usr/bin/yq | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters