richardmiller-zz / BehatSpec

Extensions to integrate Behat and PhpSpec
MIT License
51 stars 6 forks source link

Cleanup non-working versions (0.4.0, 0.4.1, 0.5.0) + release 0.6.0 / 0.6.x-dev #32

Open ek9 opened 7 years ago

ek9 commented 7 years ago

Currently due to bad namespaces the versions 0.4.0, 0.4.1 and 0.5.0 are unusuable and in a bad state.

I would suggest to release what we currently have as 0.6.0 and remove the 0.4.0, 0.4.1 and 0.5.0 as those versions will cause problems and shouldn't be used. Updating to 0.5.1 wouldn't make sense as we have updated the namespaces and it warants a bump in minor version number.

I would also suggest at the same time to add this to composer.json:

    "extra": {                                                                                                                                                            
        "branch-alias": {                                                                                                                                                 
            "dev-master": "0.6.x-dev"                                                                                                                                     
        }                                                                                                                                                                 
    }                    

The setting above will make master branch an alias of 0.6.x-dev. This way, anyone wanting to get master changes (after 0.6.0 is released), can point to 0.6.x-dev instead of dev-master. No specific branches need to be created and we would keep using master.

`

ek9 commented 7 years ago

@richardmiller @pocky To illustrate this better I have made a test repository: https://github.com/ek9/behatspec-test It has 2 branches:

None of the 0.5 series are usable. This has been fixed on master now by the PRs that were accepted. I suggest to merge #35 (which also fixes #41 ) and then release it as 0.6.0. The 0.4 and 0.5 should be untagged so no one uses them by accident.

This would really be final step after monorepo migration to have a tagged working version.