|
| 1 | +{ |
| 2 | + "branches": ["release"], |
| 3 | + "plugins": [ |
| 4 | + [ |
| 5 | + "@semantic-release/commit-analyzer", |
| 6 | + { |
| 7 | + "releaseRules": [ |
| 8 | + { |
| 9 | + "type": "chore", |
| 10 | + "release": "patch" |
| 11 | + } |
| 12 | + ] |
| 13 | + } |
| 14 | + ], |
| 15 | + "@semantic-release/release-notes-generator", |
| 16 | + "@semantic-release/changelog", |
| 17 | + "@semantic-release/npm", |
| 18 | + "@semantic-release/git", |
| 19 | + [ |
| 20 | + "@semantic-release/exec", |
| 21 | + { |
| 22 | + "prepareCmd": "./tools/package-google-cloud-sql.sh ${nextRelease.version}" |
| 23 | + } |
| 24 | + ], |
| 25 | + [ |
| 26 | + "@semantic-release/github", |
| 27 | + { |
| 28 | + "assets": [ |
| 29 | + { |
| 30 | + "path": "bin/google-cloud-sql-linux.tar.gz", |
| 31 | + "name": "google-cloud-sql-linux-${nextRelease.version}.tar.gz", |
| 32 | + "label": "Linux distribution" |
| 33 | + }, |
| 34 | + { |
| 35 | + "path": "bin/google-cloud-sql-macos.tar.gz", |
| 36 | + "name": "google-cloud-sql-macos-${nextRelease.version}.tar.gz", |
| 37 | + "label": "MacOS distribution" |
| 38 | + }, |
| 39 | + { |
| 40 | + "path": "bin/google-cloud-sql-win.tar.gz", |
| 41 | + "name": "google-cloud-sql-win-${nextRelease.version}.tar.gz", |
| 42 | + "label": "Windows distribution" |
| 43 | + } |
| 44 | + ] |
| 45 | + } |
| 46 | + ], |
| 47 | + [ |
| 48 | + "@semantic-release/exec", |
| 49 | + { |
| 50 | + "prepareCmd": "./tools/publish-brew-formula.sh ${nextRelease.version}" |
| 51 | + } |
| 52 | + ] |
| 53 | + ] |
| 54 | +} |
0 commit comments