Skip to content

Commit

Permalink
remove changes for local testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Aug 2, 2024
1 parent 5b9a424 commit 9d92649
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions devops/scripts/deploy-public-upstream.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 9d92649

Please sign in to comment.