mirror of
https://ghproxy.net/https://github.com/fairpm/fair-plugin.git
synced 2025-09-04 14:36:29 +08:00
Use "fair-plugin" in the bundled distribution script. (#105)
Signed-off-by: costdev <79332690+costdev@users.noreply.github.com>
This commit is contained in:
parent
6208b29cec
commit
4275bb0281
1 changed files with 2 additions and 2 deletions
|
@ -15,8 +15,8 @@ touch /tmp/fair-dist/SHA384SUMS
|
||||||
|
|
||||||
# Bundle our plugin first.
|
# Bundle our plugin first.
|
||||||
[ -d /tmp/fair-temp ] && rm -rf /tmp/fair-temp
|
[ -d /tmp/fair-temp ] && rm -rf /tmp/fair-temp
|
||||||
mkdir -p /tmp/fair-temp/wordpress/wp-content/plugins/fair
|
mkdir -p /tmp/fair-temp/wordpress/wp-content/plugins/fair-plugin
|
||||||
rsync -a --exclude-from="$SCRIPT_DIR/../.distignore" "$SCRIPT_DIR/.." /tmp/fair-temp/wordpress/wp-content/plugins/fair
|
rsync -a --exclude-from="$SCRIPT_DIR/../.distignore" "$SCRIPT_DIR/.." /tmp/fair-temp/wordpress/wp-content/plugins/fair-plugin
|
||||||
|
|
||||||
echo "Fetching WordPress version data" >&2
|
echo "Fetching WordPress version data" >&2
|
||||||
VERSION_DATA=$(curl -s https://api.wordpress.org/core/version-check/1.7/)
|
VERSION_DATA=$(curl -s https://api.wordpress.org/core/version-check/1.7/)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue