You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 10, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+13-5Lines changed: 13 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
# WordPress Plugin Directory Deployment Script
2
2
3
3
Deploys a WordPress plugin from a local Git repo to the WordPress Plugin Repostiory (SVN).
4
-
4
+
5
5
## Steps
6
6
7
7
These are the steps that the script takes:
8
-
8
+
9
9
1. Asks for plugin slug.
10
10
2. Asks for local plugin directory.
11
11
3. Checks local plugin directory exists.
@@ -33,9 +33,17 @@ These are the steps that the script takes:
33
33
2. Ensure that the shell script is executable. In Mac / Unix, run `chmod +x deploy.sh`.
34
34
3. Run the script with `sh deploy.sh`. You can also double-click it in Finder / Explorer to start it.
35
35
4. You'll now be guided through a set of questions.
36
-
36
+
37
37
I prefer to keep this script in the root of my projects directory. Each project directory is named as the plugin slug, as is the corresponding GitHub repo. To use, just call the script, enter the plugin slug, confirm or amend default suggestions, and sit back as the code is sent to SVN and git repos including tags. The commit messages here are hard-coded for consistency.
38
38
39
+
## Extras
40
+
41
+
You may define your own `.svnignore` file similar to an `svn propset svn:ignore .svnignore` command. This will remove any listed files and/or directories from committing to the Plugins Directory.
At one point, well over 90% of this script was written by others:
@@ -45,8 +53,8 @@ At one point, well over 90% of this script was written by others:
45
53
-**[Patrick Rauland](https://twitter.com/BFTrick)** - [Support for WP assets folder for plugin page banner and screenshots](https://github.com/BFTrick/jotform-integration/blob/master/deploy.sh)
46
54
-**[Ben Balter](https://twitter.com/benbalter)** - [Submodules support and plugin slug prompt](https://github.com/benbalter/Github-to-WordPress-Plugin-Directory-Deployment-Script/)
47
55
-**[Gary Jones](https://twitter.com/GaryJ)***(me)* - [Personalisation and commenting out bits not required when using git-flow](https://github.com/GaryJones/wordpress-plugin-git-flow-svn-deploy)
48
-
49
-
There has been a significant amount of changes since then though.
56
+
57
+
There has been a significant amount of changes since then though.
0 commit comments