-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit 'f940d61229f107231b50a041c811a33b508d14b3' into stable
- Loading branch information
Showing
2 changed files
with
110 additions
and
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,29 @@ | ||
# Avoid Errors | ||
# Status | ||
|
||
Always change the tag when using deploy to avoid adding `/trunk > /tags/{existing tag}/trunk`. | ||
Current status of project is: **stable, ~~unstable~~, ~~untested~~, needs-community-testing** | ||
|
||
# How to use | ||
Things appear to be stable. | ||
|
||
sh deploy.wordpress.org.sh [plugin_file_with_header.php] [WordPress.org Username] | ||
- Tested the readme.txt update with success at https://plugins.trac.wordpress.org/changeset/851031 using true readme update switch. | ||
- Tested the tag deploy method (old method) at http://plugins.trac.wordpress.org/changeset/851034 and http://plugins.trac.wordpress.org/changeset/851035 | ||
|
||
## Example | ||
# How to use | ||
|
||
sh deploy.wordpress.org.sh index.php aubreypwd | ||
Usage: `sh deploy.wordpress.org.sh [plugin_file_with_header.php] [WordPress.org Username] [Update Readme Only: true|false]` | ||
I.e.: `sh deploy.wordpress.org.sh index.php aubreypwd false` | ||
|
||
## Add to your repo as a subtree | ||
|
||
git subtree add --prefix deploy-git-wordpress-org https://github.com/aubreypwd/deploy-git-wordpress-org master --squash | ||
|
||
## Periodically update (Updates your script from this repo) | ||
## Update to the latest from the repository | ||
|
||
git subtree pull --prefix deploy-git-wordpress-org https://github.com/aubreypwd/deploy-git-wordpress-org master --squash | ||
|
||
Or use `sh deploy-git-wordpress-org/update-subtree.sh` once you've already added it. | ||
Or, use `sh deploy-git-wordpress-org/update-subtree.sh` once you've already added it. | ||
|
||
# Changelog | ||
|
||
## 1.0 | ||
|
||
* Now accepts 3rd parameter that tells the script whether to just update the readme.txt or re-tag. |