mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-07 22:54:11 -05:00
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:
committed by
GitHub
parent
08103885c8
commit
40f766b34c
9
.github/workflows/Build.yml
vendored
9
.github/workflows/Build.yml
vendored
@@ -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: |
|
||||
|
||||
35
.github/workflows/Generate-PR.yml
vendored
35
.github/workflows/Generate-PR.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user