Skip to content

Commit

Permalink
Updated fixed the Oro 4.2 stack building
Browse files Browse the repository at this point in the history
  • Loading branch information
gplanchat committed Mar 19, 2021
1 parent ee349e2 commit ca5fe7b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function guess(RepositoryInterface $repository, array $package): Stack\DT
->getContext();
}

if (Semver::satisfies($package['version'], '^4.1.0')) {
if (Semver::satisfies($package['version'], '4.1.*')) {
return (new Stack\ContextBuilder($repository, '7.4'))
->setApplication('orocrm', '4.1', false)
->setDbms(Stack\DTO\Context::DBMS_POSTGRESQL)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function guess(RepositoryInterface $repository, array $package): Stack\DT
->getContext();
}

if (Semver::satisfies($package['version'], '^4.1.0')) {
if (Semver::satisfies($package['version'], '4.1.*')) {
return (new Stack\ContextBuilder($repository, '7.4'))
->setApplication('orocrm', '4.1', true)
->setDbms(Stack\DTO\Context::DBMS_POSTGRESQL)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function guess(RepositoryInterface $repository, array $package): Stack\DT
->getContext();
}

if (Semver::satisfies($package['version'], '^4.1.0')) {
if (Semver::satisfies($package['version'], '4.1.*')) {
return (new Stack\ContextBuilder($repository, '7.4'))
->setApplication('orocommerce', '4.1', false)
->setDbms(Stack\DTO\Context::DBMS_POSTGRESQL)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function guess(RepositoryInterface $repository, array $package): Stack\DT
->getContext();
}

if (Semver::satisfies($package['version'], '^4.1.0')) {
if (Semver::satisfies($package['version'], '4.1.*')) {
return (new Stack\ContextBuilder($repository, '7.4'))
->setApplication('orocommerce', '4.1', true)
->setDbms(Stack\DTO\Context::DBMS_POSTGRESQL)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function guess(RepositoryInterface $repository, array $package): Stack\DT
->getContext();
}

if (Semver::satisfies($package['version'], '^4.1.0')) {
if (Semver::satisfies($package['version'], '4.1.*')) {
return (new Stack\ContextBuilder($repository, '7.4'))
->setApplication('oroplatform', '4.1', false)
->setDbms(Stack\DTO\Context::DBMS_POSTGRESQL)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function guess(RepositoryInterface $repository, array $package): Stack\DT
->getContext();
}

if (Semver::satisfies($package['version'], '^4.1.0')) {
if (Semver::satisfies($package['version'], '4.1.*')) {
return (new Stack\ContextBuilder($repository, '7.4'))
->setApplication('oroplatform', '4.1', true)
->setDbms(Stack\DTO\Context::DBMS_POSTGRESQL)
Expand Down

0 comments on commit ca5fe7b

Please sign in to comment.