Deepesh Garg | 41249c5 | 2022-04-18 10:38:22 +0530 | [diff] [blame] | 1 | { |
| 2 | "branches": ["version-13"], |
| 3 | "plugins": [ |
Deepesh Garg | c12a36a | 2022-04-18 13:05:56 +0530 | [diff] [blame] | 4 | "@semantic-release/commit-analyzer", { |
| 5 | "preset": "angular", |
| 6 | "releaseRules": [ |
| 7 | {"breaking": true, "release": false} |
| 8 | ] |
| 9 | }, |
Deepesh Garg | 41249c5 | 2022-04-18 10:38:22 +0530 | [diff] [blame] | 10 | "@semantic-release/release-notes-generator", |
| 11 | [ |
| 12 | "@semantic-release/exec", { |
| 13 | "prepareCmd": 'sed -ir "s/[0-9]*\.[0-9]*\.[0-9]*/${nextRelease.version}/" erpnext/__init__.py' |
| 14 | } |
| 15 | ], |
| 16 | [ |
| 17 | "@semantic-release/git", { |
| 18 | "assets": ["erpnext/__init__.py"], |
| 19 | "message": "chore(release): Bumped to Version ${nextRelease.version}\n\n${nextRelease.notes}" |
| 20 | } |
| 21 | ], |
| 22 | [ |
| 23 | "@semantic-release/github", { |
| 24 | "assets": [ |
| 25 | {"path": "dist/*"}, |
| 26 | ] |
| 27 | } |
| 28 | ] |
| 29 | ] |
| 30 | } |