File tree 3 files changed +38
-2
lines changed
3 files changed +38
-2
lines changed Original file line number Diff line number Diff line change 1
1
SHELL := /bin/bash
2
- GRADLE_VERSION ?= 8.10
2
+ GRADLE_VERSION ?= 8.10.1
3
3
4
4
b : build
5
5
build :
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ echo "More info one:"
4
4
echo " - https://github.com/orgs/community/discussions/25702"
5
5
6
6
echoPRDate () {
7
- echo " PR Accept on $( date) " >> pr.md
7
+ echo " PR Accept on $( date) " > pr.md
8
8
}
9
9
git pull
10
10
LANG=en_us_8859_1
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ branch_name=" update-quick"
4
+ remote_name=" origin"
5
+
6
+ cd ..
7
+ for item in * ; do
8
+ if [[ -d " $item " ]]; then
9
+ cd " ${item} " || exit
10
+ if [ -f Makefile ]; then
11
+ item=" this"
12
+ if grep -q " ^deps-quick-update:" Makefile; then
13
+ echo " ---*** Quick Update Makefile command found in $item ***---"
14
+ git pull
15
+ git fetch -p
16
+ make deps-quick-update
17
+ if ! git diff --quiet || ! git diff --cached --quiet; then
18
+ if ! git ls-remote --exit-code --heads " $remote_name " " $branch_name " ; then
19
+ git checkout -b $branch_name
20
+ git commit -am " quick updates"
21
+ git push -u origin $branch_name
22
+ if git show-ref --verify --quiet refs/heads/master; then
23
+ git checkout master
24
+ fi
25
+ if git show-ref --verify --quiet refs/heads/main; then
26
+ git checkout main
27
+ fi
28
+ fi
29
+ fi
30
+ fi
31
+ fi
32
+
33
+ cd ..
34
+ fi
35
+ done
36
+ cd project-signer || exit
You can’t perform that action at this time.
0 commit comments