-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/trunk' into feature/welcome-flow
- Loading branch information
Showing
1,362 changed files
with
86,589 additions
and
49,140 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
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
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
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
|
||
TMP_DIR=$(mktemp -d) # Temp dir where the plugin .zip files are downloaded and unpacked. | ||
REMOTE_DIR='/srv/htdocs/jetpack-staging' # Remote dir where the unpacked plugin files are synced to. | ||
PLUGINS=( "jetpack" "jetpack-mu-wpcom-plugin" "wpcomsh" ); # Plugins to update. | ||
PLUGINS=( "jetpack" "wpcomsh" ); # Plugins to update. | ||
declare -A PLUGIN_DOWNLOAD_URLS # Array used to hold fetched plugin download URLs. | ||
|
||
SITES='{ | ||
|
@@ -18,16 +18,16 @@ SITES='{ | |
"ssh_string": "[email protected]", | ||
"blog_id": "215379549" | ||
}, | ||
"jetpackedgephp74.wpcomstaging.com": { | ||
"url": "https://jetpackedgephp74.wpcomstaging.com/", | ||
"note": "php 7.4", | ||
"ssh_string": "jetpackedgephp74[email protected]", | ||
"jetpackedgephpold.wpcomstaging.com": { | ||
"url": "https://jetpackedgephpold.wpcomstaging.com/", | ||
"note": "php old", | ||
"ssh_string": "jetpackedgephpold[email protected]", | ||
"blog_id": "215379848" | ||
}, | ||
"jetpackedgephp82.wpcomstaging.com": { | ||
"url": "https://jetpackedgephp82.wpcomstaging.com/", | ||
"note": "php 8.2", | ||
"ssh_string": "jetpackedgephp82[email protected]", | ||
"jetpackedgephpnew.wpcomstaging.com": { | ||
"url": "https://jetpackedgephpnew.wpcomstaging.com/", | ||
"note": "php new", | ||
"ssh_string": "jetpackedgephpnew[email protected]", | ||
"blog_id": "215380000" | ||
}, | ||
"jetpackedgeecomm.wpcomstaging.com": { | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/bash | ||
|
||
## Environment used by this script: | ||
# | ||
# Required: | ||
# - WP_BRANCH: Version of WordPress to check out. | ||
# | ||
# Other: | ||
# - GITHUB_ENV: File written to to set environment variables for later steps. | ||
|
||
set -eo pipefail | ||
|
||
case "$WP_BRANCH" in | ||
trunk) | ||
WORDPRESS_TAG=trunk | ||
;; | ||
latest) | ||
WORDPRESS_TAG=$(php ./tools/get-wp-version.php) | ||
;; | ||
previous) | ||
# We hard-code the version here because there's a time near WP releases where | ||
# we've dropped the old 'previous' but WP hasn't actually released the new 'latest' | ||
WORDPRESS_TAG=6.5 | ||
;; | ||
*) | ||
echo "Unrecognized value for WP_BRANCH: $WP_BRANCH" >&2 | ||
exit 1 | ||
;; | ||
esac | ||
|
||
if [[ -n "$GITHUB_ENV" ]]; then | ||
echo "WORDPRESS_TAG=$WORDPRESS_TAG" >> "$GITHUB_ENV" | ||
fi |
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
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
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
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
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
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
Oops, something went wrong.