Skip to content

Commit

Permalink
heroku-24 support for Dev Center generator
Browse files Browse the repository at this point in the history
  • Loading branch information
dzuelke committed May 30, 2024
1 parent 3e47948 commit 359c05b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions support/devcenter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ First, `composer install` the dependencies.
By default, all sections will be generated:

```ShellSession
$ ./generate.php https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-20-stable/packages.json https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-22-stable/packages.json
$ ./generate.php https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-{20,22,24-amd64}-stable/packages.json
```

You may also generate any of the five sections individually using the `--runtimes`, `--built-in-extensions`, `--third-party-extensions`, `--composers`, or `--webservers` options:

```ShellSession
$ ./generate.php --third-party-extensions https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-20-stable/packages.json https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-22-stable/packages.json
$ ./generate.php --third-party-extensions https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-{20,22,24-amd64}-stable/packages.json
```

You'd usually pipe the output into e.g. `pbcopy` and then update the Dev Center article.
Expand Down
1 change: 1 addition & 0 deletions support/devcenter/generate.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
$stacks = [
1 => '20', // the offset we start with here is relevant for the numbering of footnotes
'22',
// '24', // TODO: enable once heroku-24 is released
];
}

Expand Down

0 comments on commit 359c05b

Please sign in to comment.