-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ACMS-000: Fix failing CI for code deployment on drupal.org.
- Loading branch information
1 parent
35560cf
commit 3f22548
Showing
1 changed file
with
15 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ exit_script() { | |
exit 1 | ||
fi | ||
} | ||
declare -a acms_modules=("acquia_cms_article" "acquia_cms_audio" "acquia_cms_component" "acquia_cms_document" "acquia_cms_event" "acquia_cms_headless" "acquia_cms_image" "acquia_cms_page" "acquia_cms_person" "acquia_cms_place" "acquia_cms_search" "acquia_cms_site_studio" "acquia_cms_starter" "acquia_cms_toolbar" "acquia_cms_video") | ||
declare -a acms_modules=("acquia_cms_article" "acquia_cms_audio" "acquia_cms_component" "acquia_cms_document" "acquia_cms_event" "acquia_cms_headless" "acquia_cms_image" "acquia_cms_page" "acquia_cms_person" "acquia_cms_search" "acquia_cms_site_studio" "acquia_cms_starter" "acquia_cms_toolbar" "acquia_cms_video") | ||
|
||
for acms_module in "${acms_modules[@]}" | ||
do | ||
|
@@ -57,3 +57,17 @@ exit_script ${success} | |
git clone [email protected]:project/sitestudio_config_management.git --branch=develop ../clone/sitestudio_config_management && cd ../clone/sitestudio_config_management | ||
git pull origin 1.x --rebase | ||
git push origin develop:1.x | ||
|
||
# Move back to the root directory. | ||
cd - | ||
|
||
# We need to do workaround to push code on drupal.org for acquia_cms_place module | ||
# As we've made a release for 1.x branch and we can't force push on release branch. :/ | ||
./acms-split.sh --branch=develop --push=drupal --module=acquia_cms_place && success=true || success=false | ||
exit_script ${success} | ||
git clone [email protected]:project/acquia_cms_place.git --branch=develop ../clone/acquia_cms_place && cd ../clone/acquia_cms_place | ||
git pull origin 1.x --rebase | ||
git push origin develop:1.x | ||
|
||
# Move back to the root directory. | ||
cd - |