konnektiv/git-wordpress-publish

用于从Git仓库发布WordPress插件的Shell脚本。

dev-master 2016-06-08 11:25 UTC

This package is not auto-updated.

Last update: 2024-09-14 19:04:09 UTC


README

使用方法

  • 在你的插件基本目录下创建一个名为deploy-config.sh的文件,并包含以下选项
# main config
PLUGINSLUG="plugin-slug" # The slug of your plugin as submitted to wordpress.org
MAINFILE="plugin-mainfile.php" # this should be the name of your main php file in the wordpress plugin
SVNUSER="svnuser" # your svn username
  • 从你的插件目录的顶级目录运行脚本deploy.sh