From 935195ca0f1838f0d0d30118754bdc97523bda33 Mon Sep 17 00:00:00 2001 From: Sebastian Blask Date: Tue, 23 Apr 2024 23:27:40 +1200 Subject: [PATCH] feat: exec & assets --- .releaserc.json | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.releaserc.json b/.releaserc.json index 16ea173..9943172 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -10,7 +10,27 @@ "@semantic-release/commit-analyzer", "@semantic-release/npm", "@semantic-release/release-notes-generator", - "@semantic-release/github" + [ + "@semantic-release/exec", + { + "prepareCmd": "./my-build-script.sh ${nextRelease.version}" + } + ], + [ + "@semantic-release/github", + { + "assets": [ + { + "path": "*${nextRelease.version}-chrome.zip", + "label": "Chrome package" + }, + { + "path": "*${nextRelease.version}-firefox.zip", + "label": "Firefox package" + } + ] + } + ] ], "tagFormat": "${ version }" }