mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
15 lines
313 B
Bash
Executable File
15 lines
313 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -ex
|
|
source ./script/ci/includes.sh
|
|
|
|
echo "--- Verifying branch is based on current master"
|
|
exit_unless_master_merged
|
|
|
|
echo "--- Merging and pushing branch"
|
|
git checkout master
|
|
git merge origin/master
|
|
git merge origin/$BUILDKITE_BRANCH
|
|
git push origin master
|
|
git checkout origin/$BUILDKITE_BRANCH
|