Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

When I'm writing a fix to some bugs, I often increment the version and send it to the bug finder to see if my fix works. If I have 1.2.5 and I want to create a beta that will become redundant once I commit my code, should I use 1.2.5-beta or 1.2.6-beta? My concern is that 1.2.6 < 1.2.6-beta so that the string comparison may favour the beta and the bug finder would not get a notification of the stable version being released.

EDIT:

If the string is compared absolutely without taking into account the release type, you could use 1.2.5-fix and then 1.2.6. The problem is also outlined at http://en.wikipedia.org/wiki/Software_versioning#Pre-release_versions

share|improve this question

1 Answer

You should not be releasing beta versions of plugins you expect to follow up with a non-beta release. Beta is for testing, release it on your website or something, but only do stable releases to the repo unless you plan on keeping the plugin in beta.

share|improve this answer
Yes, when sending the file to the bug finder for testing, I don't commit it to the repo, rather I email them. The issue of updating to 1.2.6 from 1.2.6-beta only arises for the bug finder. – Aram Kocharyan Jan 30 '12 at 2:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.