FIX: Put self.version in composer dependencies.

Now that https://github.com/composer/composer/pull/1883 is in Composer, self.version
will work as a requirement for framework & cms.  This will simplify the release
process a great deal.

Ultimately, the release of rc1 will be the place to test that, but it seems appropriate
to get this in there for that.

If it succeeds with 3.1-rc1, I'd suggest we backport to 3.0 and 2.4.
This commit is contained in:
Sam Minnee 2013-05-13 21:07:57 +12:00
parent b23c744f41
commit bf81f0394a

View File

@ -3,8 +3,8 @@
"description": "The SilverStripe Framework Installer", "description": "The SilverStripe Framework Installer",
"require": { "require": {
"php": ">=5.3.2", "php": ">=5.3.2",
"silverstripe/cms": "3.1.x-dev", "silverstripe/cms": "self.version",
"silverstripe/framework": "3.1.x-dev", "silverstripe/framework": "self.version",
"silverstripe-themes/simple": "*" "silverstripe-themes/simple": "*"
}, },
"config": { "config": {