forked from shauninman/MinUI
-
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
Shaun Inman
committed
Dec 9, 2024
1 parent
a3739ae
commit 8b43197
Showing
1 changed file
with
12 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 |
---|---|---|
|
@@ -4,11 +4,12 @@ show() { | |
pushd "$1" >> /dev/null | ||
HASH=$(git rev-parse --short=8 HEAD) | ||
NAME=$(basename $PWD) | ||
DATE=$(git log -1 --pretty='%ad' --date=format:'%Y-%m-%d') | ||
REPO=$(git config --get remote.origin.url) | ||
REPO=$(sed -E "s,(^[email protected]:)|(^https?://github.com/)|(.git$)|(/$),,g" <<<"$REPO") | ||
popd >> /dev/null | ||
|
||
printf '%-24s%-10s%s\n' $NAME $HASH $REPO | ||
printf '%-24s%-10s%-12s%s\n' $NAME $HASH $DATE $REPO | ||
} | ||
list() { | ||
pushd "$1" >> /dev/null | ||
|
@@ -68,6 +69,12 @@ bump() { | |
echo CORES | ||
list ./workspace/tg5040/cores/src | ||
bump | ||
|
||
tell TG3040 # just copied from normal rg35xx | ||
show ./workspace/tg5040/other/unzip60 | ||
echo CORES | ||
list ./workspace/tg5040/cores/src | ||
bump | ||
|
||
tell M17 | ||
echo CORES | ||
|
@@ -96,5 +103,8 @@ bump() { | |
echo CORES | ||
list ./workspace/magicmini/cores/src | ||
bump | ||
|
||
|
||
tell CHECK | ||
echo https://github.com/USER/REPO/compare/HASH...HEAD | ||
bump | ||
} | sed 's/\n/ /g' |