Skip to content

Commit

Permalink
RC8 exit if --simulate is used as it is not supported yet
Browse files Browse the repository at this point in the history
  • Loading branch information
fooman committed Jan 19, 2024
1 parent ed8c956 commit 5a81e04
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ sh -ic "$(curl -sS https://raw.githubusercontent.com/extdn/installer-m2/master/b
```

### Option 2 - Phar
Download and save the [ExtDN_Installer](https://github.com/extdn/installer-m2/raw/v1.0.0-rc7/build/extdn_installer.phar). Ensure it is executable with `chmod +x extdn_installer.phar`.
Download and save the [ExtDN_Installer](https://github.com/extdn/installer-m2/raw/v1.0.0-rc8/build/extdn_installer.phar). Ensure it is executable with `chmod +x extdn_installer.phar`.

#### Phar Installation from packagist or Marketplace
(essentially all previously pre-configured composer repositories)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0-rc7
1.0.0-rc8
2 changes: 1 addition & 1 deletion bin/oneliner.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
curl -sSL https://github.com/extdn/installer-m2/raw/v1.0.0-rc7/build/extdn_installer.phar -o extdn_installer.phar
curl -sSL https://github.com/extdn/installer-m2/raw/v1.0.0-rc8/build/extdn_installer.phar -o extdn_installer.phar
chmod +x extdn_installer.phar
./extdn_installer.phar $@
RET_VALUE=$?
Expand Down
Binary file modified build/extdn_installer.phar
Binary file not shown.
5 changes: 5 additions & 0 deletions src/Command/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ public function install(
try {
$this->say('Running ExtDN Installer ');

if ($this->getOption('simulate')) {
$this->exitWithError(
'Simulated installs are currently not supported.'
);
}
# TODO maybe use a collection instead to run multiple tasks chained together
# check correct directory
$this->taskCheckMagentoRoot()->run();
Expand Down

0 comments on commit 5a81e04

Please sign in to comment.