Skip to content

SVC Release 3.0.0 #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,20 @@
- `php bin/svc compare` - Compare a set of files to determine what semantic versioning change needs to be done.
- `php bin/svc update-breaking-changes` - Update the file with a list of backward incompatible changes between two sources.

### Releases & Versioning

#### Releases

- Magento-semver development should happen against the `develop` branch.
- New releases will shipped monthly. However, new releases will only occur if the `develop` branch has diverged from the `master` branch.
- If a hot-fix needs to be applied, a new release may be cut at any time. If this happens, the release cycle does not change.

#### Versioning

- Versions will be handled via GitHub Tags.
- Only `MAJOR` versions, as understood by the Semantic Versioning specification, are allowed; e.g.: increasing from version `2.0.0` to version `3.0.0`.
- With each new version, the `composer.json` file must be updated to match the new target version before creating a tag.
- After a new version is released, `magento-semver` will be packaged and published to `repo.magento.com` for consumption.

## Tests
- `vendor/bin/phpunit -c tests/Unit/phpunit.xml.dist`
7 changes: 6 additions & 1 deletion bin/svc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@
* See COPYING.txt for license details.
*/

require __DIR__ . '/../vendor/autoload.php';
foreach ([__DIR__ . '/../../../autoload.php', __DIR__ . '/../vendor/autoload.php'] as $file) {
if (file_exists($file)) {
require $file;
break;
}
}

use Symfony\Component\Console\Application;
use Magento\SemanticVersionChecker\Console\Command\CompareSourceCommand;
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"name": "magento/magento-semver",
"description": "Magento semantic version checker",
"version": "2.0.0",
"version": "3.0.0",
"license": [
"OSL-3.0",
"AFL-3.0"
],
"bin": ["bin/svc"],
"require": {
"php": "~7.1.3||~7.2.0||~7.3.0",
"tomzx/php-semver-checker": "^0.13.0",
"symfony/console": "~4.4.0",
"phpstan/phpdoc-parser": "^0.3.5",
"wikimedia/less.php": "~1.8.0"
"symfony/console": "~4.4.0",
"tomzx/php-semver-checker": "^0.13.0",
"wikimedia/less.php": "~1.8.0",
"zendframework/zend-stdlib": "^3.2.1"
},
"require-dev": {
"phpunit/phpunit": "^6.5.0",
"zendframework/zend-stdlib": "^3.2.1",
"squizlabs/php_codesniffer": "^3.5"
},
"autoload": {
Expand Down
Loading