You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following example uses this plugin to demonstrate using semantic-release in a Python package where `__VERSION__` is defined in the root `__init__.py` file.
23
23
24
+
### Configuration Example
25
+
24
26
```json
25
27
{
26
28
"plugins": [
@@ -30,10 +32,10 @@ The following example uses this plugin to demonstrate using semantic-release in
30
32
{
31
33
"replacements": [
32
34
{
33
-
"files": ["foo/**.py"],
35
+
"files": ["foo/**/*.py"],
34
36
"from": "__VERSION__ = \".*\"",
35
37
"to": "__VERSION__ = \"${nextRelease.version}\"",
36
-
"ignore" ["foo/go.py"],
38
+
"ignore": ["foo/go.py"],
37
39
"results": [
38
40
{
39
41
"file": "foo/__init__.py",
@@ -50,13 +52,71 @@ The following example uses this plugin to demonstrate using semantic-release in
0 commit comments