Tagging new versions of WordPress plugins directory February 24, 2010
Posted by artiko in: Web , trackbackIf you have already created our WordPress plugin and added it to the official catalog, as described some time ago , Peter, can we come across the idea of his improved. Here comes the question: how to add a new amendment, the next version? Description of Best Practices in this connection can be found in official aid wordpress.org .
First some information. WordPress recommends storing subsequent versions of plug-in tags, tags directories in a folder in our repository. Their name should be, as is the usual with software, digital and always sequential, eg 1.0, 2.1, 3.5.7. The trunk folder is best to keep the current development version.
To give the plugins directory to know which version is our current stable, select it in the Stable tag in the file readme.txt in the folder trunk. WordPress will provide users with the same version of the plugin.
To work:
- If you have not had any tag in our repository, let's create a folder 1.0 (or any other, corresponding to the first released version) in the folder tags. Copy it there, what with the addition of plug-in was in the trunk folder.
- As mentioned earlier, it is good to work on files in the folder trunk. When we consider that the next version is ready to edit the readme.txt file contained in it, remember to change the version of the Stable tag. Here you will also be important so that this was the same version that appears in the header file in our plugin.
- Create a directory with the version number tags. Copy the files from the folder trunk.
- Done, at this point, we do commit to our repository. Plugins WordPress.org servers are refreshed every 15 minutes, so the maximum time that a new version of the plug should be ready for download and can occur in the information for the update.
Of course you can also develop plug-in only work on files in the trunk and periodically change the version number in the file header plugs and readme.txt. But then we lose the ability to undo the revisions, temporary shut-down version, or a jump. Tagging makes it easy to know the truth.




Comments »
[...] Recommend continuation of the theme of Arthur Tagging entry of new versions of WordPress plugins directory. Nimniejszy Share with [...]