Skip to content

Commit b3ac4ec

Browse files
authored
Update Readme.md
Simplify instructions
1 parent 34db657 commit b3ac4ec

1 file changed

Lines changed: 4 additions & 32 deletions

File tree

Readme.md

Lines changed: 4 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,10 @@ COPY --from=bref/extra-mongodb-php-82:3 /opt /opt
192192
193193
## For contributors and maintainers
194194
195+
### Releasing
196+
197+
Run the [Release](https://github.com/brefphp/extra-php-extensions/actions/workflows/release.yml) workflow.
198+
195199
### Creating a new layer
196200
197201
The idea is to start from bref/build-php-XX, install all libraries and extensions
@@ -229,38 +233,6 @@ You can publish the layer in your AWS account to test it in AWS Lambda as well:
229233
layer=imagick php_versions=81 only_region=us-east-1 make publish
230234
```
231235
232-
### Deploy new versions
233-
234-
#### Use Github actions
235-
236-
Prepare the changelog with some release notes. Then push your changes to `prepare-release` branch.
237-
The Github Action will build an publish layers and then commit the `layers.json` to your PR.
238-
239-
Now you will just merge and create a tag.
240-
241-
#### The manual way
242-
243-
```
244-
export AWS_PROFILE=my_profile
245-
make publish
246-
git add layers.json
247-
git commit -m "New version of layers"
248-
git push
249-
```
250-
251-
#### Config
252-
253-
You can also build only one specific layer by providing `layer=blackfire` to `make`.
254-
Same thing for some specific version(s) of php by providing `php_versions="80 81"` to `make`.
255-
You can invoke both ways:
256-
257-
```shell
258-
# First way: make with named arguments
259-
make layer=gd php_versions=81
260-
# Second way: environment variables passed to make
261-
layer=blackfire php_versions=81 make
262-
```
263-
264236
## Lambda layers in details
265237
266238
> **Notice:** this section is only useful if you want to learn more.

0 commit comments

Comments
 (0)