updater-postgresql-18.0 — postgresql → 18.0 (#12927)

* Remove rebases from Build and Generate PR workflows & adjust versioning to handle libdb.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add unbuilt postgresql to updater-postgresql-18.0

* updater-postgresql-18.0: Build Run on linux/arm/v7.

* updater-postgresql-18.0: Build Run on linux/amd64.

* updater-postgresql-18.0: Package File Update Run on linux/amd64 container.

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
This commit is contained in:
chromebrew-actions[bot]
2025-09-25 13:43:57 -04:00
committed by GitHub
parent 08103885c8
commit 40f766b34c
8 changed files with 1059 additions and 999 deletions

View File

@@ -66,15 +66,6 @@ jobs:
fetch-depth: 0
persist-credentials: true
ref: ${{ inputs.branch || github.ref_name }}
- name: Rebase to master
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
# git pull --rebase origin master
git fetch origin
git pull
git rebase -X theirs origin/master
git push --force-with-lease
- name: Set Timestamp
id: set-timestamp
run: |

View File

@@ -12,11 +12,6 @@ on:
pr_title:
description: "Title of PR"
required: false
rebase:
description: "Rebase to master."
required: false
type: boolean
default: 'true'
update_package_files:
description: "Update Package Files."
required: false
@@ -66,17 +61,6 @@ jobs:
fetch-depth: 0
persist-credentials: true
ref: ${{ inputs.branch || github.ref_name }}
- name: Rebase to master
if: ${{ ( inputs.rebase ) }}
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
# git pull --rebase origin master
# git push -f
git fetch origin
git pull
git rebase -X theirs origin/master
git push --force-with-lease
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v47
@@ -331,26 +315,15 @@ jobs:
make -j "$(nproc)"
sudo make install
sudo gem install ruby-libversion
- name: Rebase to master and save git log
id: rebase-and-git-log
env:
REBASE: ${{ inputs.rebase }}
- name: Save git log
id: save-git-log
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
git fetch origin
git checkout "${{ inputs.branch || github.ref_name }}"
if [[ ${REBASE} == 'true' ]]; then
git reset --hard "origin/${{ inputs.branch || github.ref_name }}"
git pull
git rebase -X theirs origin/master
git push --force-with-lease
# git pull --rebase origin master && git push -f
fi
git log --oneline -10
git checkout master && git pull
git log --oneline master..${{ inputs.branch || github.ref_name }} | grep -v "Merge branch 'master'\|Build Run on\|Package File Update Run on\|lint$" | tr '\n' '\0' | xargs -0 -n1 echo "- $*" >> /tmp/commits.txt
git checkout "${{ inputs.branch || github.ref_name }}"
git log --oneline -10
git log --oneline master..${{ inputs.branch || github.ref_name }} | grep -v "Merge branch 'master'\|Build Run on\|Package File Update Run on\|lint$" | tr '\n' '\0' | xargs -0 -n1 echo "- $*" >> /tmp/commits.txt
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v47