-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5b9a424
commit 9d92649
Showing
1 changed file
with
8 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,6 @@ | |
# This script is pretty tailored to assuming it's running in the CircleCI environment / a fresh git clone. | ||
# It mirrors most commits from `pantheon-systems/wordpress-composer-managed:release` to `pantheon-upstreams/wordpress-composer-managed`. | ||
|
||
[email protected]:jazzsequence/wordpress-composer-managed.git | ||
CIRCLE_BRANCH="handle-complex-deploys" | ||
|
||
# Check github authentication; ignore status code 1 returned from this command | ||
ssh -T [email protected] | ||
|
||
|
@@ -57,10 +54,10 @@ fi | |
git checkout -b public --track public/main | ||
git pull | ||
|
||
# if [[ "$CIRCLECI" != "" ]]; then | ||
# git config --global user.email "[email protected]" | ||
# git config --global user.name "Pantheon Automation" | ||
# fi | ||
if [[ "$CIRCLECI" != "" ]]; then | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Pantheon Automation" | ||
fi | ||
|
||
for commit in "${commits[@]}"; do | ||
if [[ -z "$commit" ]] ; then | ||
|
@@ -109,8 +106,8 @@ git push public public:main | |
|
||
git checkout "$CIRCLE_BRANCH" | ||
|
||
# # update the release-pointer | ||
# git tag -f -m 'Last commit set on upstream repo' release-pointer HEAD | ||
# update the release-pointer | ||
git tag -f -m 'Last commit set on upstream repo' release-pointer HEAD | ||
|
||
# # Push release-pointer | ||
# git push -f origin release-pointer | ||
# Push release-pointer | ||
git push -f origin release-pointer |