Compare commits

...

10 Commits

Author SHA1 Message Date
giles 2097f42252 build/rebase-10 -> develop/rebase-10
build-develop-branch / build-branch (push) Successful in 36s Details
build-develop-branch / delete (pull_request) Successful in 17s Details
build-develop-branch / if_merged (pull_request) Successful in 12s Details
2023-10-23 14:55:46 +00:00
gilesb 8fe72c326a ..... 2023-10-23 14:55:46 +00:00
gilesb 96481d4792 ..... 2023-10-23 14:55:46 +00:00
gilesb c3cd89d688 ..... 2023-10-23 14:55:46 +00:00
gilesb 1dc2d3bbc4 ... 2023-10-23 14:55:46 +00:00
gilesb 99805e37fd ... 2023-10-23 14:55:46 +00:00
gilesb 6528fcac86 ... 2023-10-23 14:55:46 +00:00
gilesb f4172e552c ....... 2023-10-23 14:55:46 +00:00
gilesb 1dcebf80fa ..... 2023-10-23 14:55:46 +00:00
gilesb 569b235726 ..... 2023-10-23 14:55:46 +00:00
5 changed files with 6 additions and 25 deletions

View File

@ -42,11 +42,9 @@ jobs:
echo $(git branch -r | grep -Fx " origin/${{ env.DEVELOPMENT_BRANCH }}" | wc -c)
- name: push
run: |
git add -A
git commit -a -m "${{ github.ref_name }} -> ${{ env.DEVELOPMENT_BRANCH }} "
if [[ $(git branch -r | grep -Fx " origin/${{ env.DEVELOPMENT_BRANCH }}" | wc -c) -eq 0 ]]; then
git rebase origin/master
git rebase origin/master --strategy-option theirs
git log -5
echo no development branch so pushing
git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }};
curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output tea;
@ -61,23 +59,7 @@ jobs:
echo 'pushed new branch and created pr';
else
if [[ $(git diff origin/${{ env.DEVELOPMENT_BRANCH }} | wc -c) -ne 0 ]]; then
git clone ${{ github.serverUrl }}/${{ github.repository }} ../cloned
git -C ../cloned fetch origin #--depth=1
git -C ../cloned branch -r
git -C ../cloned checkout $DEVELOPMENT_BRANCH || git -C ../cloned checkout -b $DEVELOPMENT_BRANCH
mv ../cloned/.git ..
rm -rf ../cloned
cp -r . ../cloned
rm -rf ../cloned/.git
mv ../.git ../cloned
mv .git/config ../cloned/.git
rm -r ./*
rm -r .git
mv ../cloned/* .
mv ../cloned/.git .
git status
git add -A
git commit -a -m "${{ github.ref_name }} -> ${{ env.DEVELOPMENT_BRANCH }}"
git rebase origin/${{ env.DEVELOPMENT_BRANCH }} --strategy-option theirs
git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }};
else
echo 'no changes so no push'

View File

@ -44,7 +44,7 @@ jobs:
git push origin HEAD:${{ env.BUILD_BRANCH }};
else
if [[ $(git diff origin/${{ env.BUILD_BRANCH }} | wc -c) -ne 0 ]]; then
git rebase origin/${{ env.BUILD_BRANCH }}
git rebase origin/${{ env.BUILD_BRANCH }} --strategy-option theirs
git push origin HEAD:${{ env.BUILD_BRANCH }}
else
echo 'no changes so no push'
@ -55,6 +55,7 @@ jobs:
curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output tea
chmod +x ./tea
./tea login add -n=this --url=${{ github.server_url}} -t=${{ secrets.BOT_TOKEN }}
./tea pr ls -f=base,head -o=csv
if [[ $(./tea pr ls -f=base,head -o=csv | grep "\"master\",\"${{ github.ref_name }}\"" | head -c1 | wc -c) -eq 0 ]]; then
./tea pr c --base=master --head=${{ github.ref_name }} --description="
development pull request

View File

@ -21,7 +21,7 @@
- Type: '0'
- EnumerationSet:
- UniqueName: $TIMER_TYPE
- Type: '1'
- Type: '13'
- Member:
- Name: COUNT_DOWN
- Ordinal: '0'

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long