Skip to content

Commit

Permalink
ci: Run native builds out of band from semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinbyrne committed Feb 22, 2023
1 parent d2faa86 commit 82352f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 24 deletions.
23 changes: 0 additions & 23 deletions .releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,29 +44,6 @@ module.exports = {
publishCmd: 'yarn build',
},
],
[
'@semantic-release/exec',
{
publishCmd: 'yarn build-native',
},
],
[
'@semantic-release/exec',
{
verifyConditionsCmd: path.join(process.env.PROJECT_CWD, 'bin', 'presign'),
publishCmd: 'yarn codesign || true',
},
],
[
'@semantic-release/exec',
{
publishCmd: [
path.join(process.env.PROJECT_CWD, 'bin', 'hash'),
path.join('.', 'release', '*'),
'|| true',
].join(' '),
},
],
'@semantic-release/git',
[
'@semantic-release/github',
Expand Down
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ jobs:
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile default -y
- source "$HOME/.cargo/env"
script: |
yarn build \
./bin/presign \
&& yarn build \
&& yarn build-native \
&& yarn codesign \
&& ./bin/hash packages/*/release/* \
&& yarn run semantic-release \
&& yarn run chromatic --auto-accept-changes

0 comments on commit 82352f1

Please sign in to comment.