Skip to content

Commit

Permalink
Use humbug/box, package beta5
Browse files Browse the repository at this point in the history
  • Loading branch information
fooman committed Jan 19, 2020
1 parent b7989c1 commit 61d7e19
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 12 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,21 @@ This option is likely provided by an ExtDN member and allows the installation of
#### Oneliner Installation from packagist or Marketplace
(essentially all previously pre-configured composer repositories)
```
sh -ic "$(curl -sS https://raw.githubusercontent.com/extdn/installer-m2/v1.0.0-beta4/bin/oneliner.sh)" -- install fooman/emailattachments-m2:^3.0
sh -ic "$(curl -sS https://raw.githubusercontent.com/extdn/installer-m2/v1.0.0-beta5/bin/oneliner.sh)" -- install fooman/emailattachments-m2:^3.0
```

#### Oneliner Installation from Github
```
sh -ic "$(curl -sS https://raw.githubusercontent.com/extdn/installer-m2/v1.0.0-beta4/bin/oneliner.sh)" -- --template=github --repo-url=https://github.com/fooman/emailattachments-m2.git install fooman/emailattachments-m2:^3.0
sh -ic "$(curl -sS https://raw.githubusercontent.com/extdn/installer-m2/v1.0.0-beta5/bin/oneliner.sh)" -- --template=github --repo-url=https://github.com/fooman/emailattachments-m2.git install fooman/emailattachments-m2:^3.0
```

#### Oneliner Installation from Fooman Repo
```
sh -ic "$(curl -sS https://raw.githubusercontent.com/extdn/installer-m2/v1.0.0-beta4/bin/oneliner.sh)" -- --template=fooman --repo-url=https://customer-repo.fooman.co.nz/URL-PRIVATE_TOKEN install fooman/emailattachments-m2:^3.0
sh -ic "$(curl -sS https://raw.githubusercontent.com/extdn/installer-m2/v1.0.0-beta5/bin/oneliner.sh)" -- --template=fooman --repo-url=https://customer-repo.fooman.co.nz/URL-PRIVATE_TOKEN install fooman/emailattachments-m2:^3.0
```

### Option 2 - Phar
Download and save the [ExtDN_Installer](https://github.com/extdn/installer-m2/raw/v1.0.0-beta4/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-beta5/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-beta4
1.0.0-beta5
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-beta4/build/extdn_installer.phar -o extdn_installer.phar
curl -sSL https://github.com/extdn/installer-m2/raw/v1.0.0-beta5/build/extdn_installer.phar -o extdn_installer.phar
chmod +x extdn_installer.phar
./extdn_installer.phar $@
RET_VALUE=$?
Expand Down
6 changes: 2 additions & 4 deletions box.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
"in": "vendor"
}
],
"main": "bin/extdn_installer",
"output": "build/extdn_installer.phar",
"stub": true,
"chmod": "0755"
}
"compactors": ["KevinGH\\Box\\Compactor\\Php"]
}
Binary file modified build/extdn_installer.phar
Binary file not shown.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
},
"bin": ["bin/extdn_installer"],
"scripts": {
"package-phar": "composer update && box build"
"package-phar": "composer update && curl -L https://github.com/humbug/box/releases/download/3.8.4/box.phar -o ./build/box.phar && chmod +x ./build/box.phar && ./build/box.phar compile"
},
"config": {
"platform": {
"php": "7.0"
}
}
}
}

0 comments on commit 61d7e19

Please sign in to comment.