Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update quick #175

Merged
merged 3 commits into from
Sep 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SHELL := /bin/bash
GRADLE_VERSION ?= 8.10
GRADLE_VERSION ?= 8.10.1

b: build
build:
Expand Down
2 changes: 1 addition & 1 deletion acceptPR.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ echo "More info one:"
echo "- https://github.com/orgs/community/discussions/25702"

echoPRDate() {
echo "PR Accept on $(date)" >> pr.md
echo "PR Accept on $(date)" > pr.md
}
git pull
LANG=en_us_8859_1
Expand Down
36 changes: 36 additions & 0 deletions depsAllQuickManualUpgrade.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/usr/bin/env bash

branch_name="update-quick"
remote_name="origin"

cd ..
for item in *; do
if [[ -d "$item" ]]; then
cd "${item}" || exit
if [ -f Makefile ]; then
item="this"
if grep -q "^deps-quick-update:" Makefile; then
echo "---*** Quick Update Makefile command found in $item ***---"
git pull
git fetch -p
make deps-quick-update
if ! git diff --quiet || ! git diff --cached --quiet; then
if ! git ls-remote --exit-code --heads "$remote_name" "$branch_name"; then
git checkout -b $branch_name
git commit -am "quick updates"
git push -u origin $branch_name
if git show-ref --verify --quiet refs/heads/master; then
git checkout master
fi
if git show-ref --verify --quiet refs/heads/main; then
git checkout main
fi
fi
fi
fi
fi

cd ..
fi
done
cd project-signer || exit