-
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.
- Loading branch information
1 parent
112e0b9
commit 07c72a4
Showing
2 changed files
with
22 additions
and
2 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,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
cd .. | ||
for item in *; do | ||
if [[ -d "$item" ]]; then | ||
cd "${item}" || exit | ||
git fetch -p | ||
echo "---*** List status of PRs and branches in $item ***---" | ||
for branch_name in $(git branch -r | grep -v '\->' | sed 's/origin\///' | grep -v 'master' | grep -v 'main' | grep -v 'migration-to-kotlin'); do | ||
echo "- Project $item, Branch exists!: $branch_name" | ||
done | ||
if git status | grep -q "nothing to commit, working tree clean" ; then | ||
echo "- Nothing to commit!"; | ||
else | ||
git status; | ||
fi | ||
cd .. | ||
fi | ||
done | ||
cd project-signer || exit |
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