Skip to content

Commit 3cd5336

Browse files
authored
Merge pull request #115 from cmolisee/112-release-version-out-of-parity-in-release-pipeline
ci(release versioning): ensure proper version is included in release …
2 parents af6f999 + 024bae6 commit 3cd5336

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,6 @@ jobs:
3333
- name: Verify the integrity of provenance attestations and registry signatures
3434
run: npm audit signatures
3535

36-
- name: Build Chrome
37-
run: npm run build
38-
39-
- name: Build Firefox
40-
run: npm run build:firefox
41-
42-
- name: Build safari
43-
run: npm run build:safari
44-
45-
- name: Build edge
46-
run: npm run build:edge
47-
4836
- name: Release
4937
env:
5038
GITHUB_TOKEN: ${{ secrets.RELEASE_PAT }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
[
2828
"@semantic-release/exec",
2929
{
30-
"prepareCmd": "zip -r chrome.zip ./dist/chrome-mv3 && zip -r edge.zip ./dist/edge-mv3 && zip -r firefox.zip ./dist/firefox-mv2 && zip -r safari.zip ./dist/safari-mv2"
30+
"prepareCmd": "chmod +x ./tooling/prepare.sh && ./tooling/prepare.sh"
3131
}
3232
],
3333
[

tooling/prepare.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
npm run build &&
4+
zip -r chrome.zip ./dist/chrome-mv3 &&
5+
npm run build:edge &&
6+
zip -r edge.zip ./dist/edge-mv3 &&
7+
npm run build:firefox &&
8+
zip -r firefox.zip ./dist/firefox-mv2 &&
9+
npm run build:safari &&
10+
zip -r safari.zip ./dist/safari-mv2

0 commit comments

Comments
 (0)