Skip to content

Commit bd5308d

Browse files
weitzmanwebflo
authored andcommitted
Add Handling Failures example. (#1)
1 parent 0d3375f commit bd5308d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,19 @@ This package can only be required in its dev-* version: there will never be stab
2828

2929
This package is therefore only suited for installation in the root of your deployable project.
3030

31+
# Handling Failures
32+
33+
In the rare event that a security release does not affect your project, and upgrading to latest release is undesireable, you can suppress a build failure by specifying a particular SHA project in composer.json. For example, assume that drupal/dynamic_entity_reference 8.1.0-beta2 just came out as a Security release. In order to keep using 8.1.0-beta1, you can specify the following in composer.json:
34+
35+
```
36+
"require": {
37+
"drupal/dynamic_entity_reference": "dev-8.x-1.x#8713890"
38+
},
39+
40+
```
41+
42+
Note: that this approach opts your package out of any future security releases. You can check for future security releases with `drush pm-updatestatus`.
43+
3144
# Sources
3245

3346
This packages gets information form Drupal.org APIs.

0 commit comments

Comments
 (0)