Skip to content

Commit

Permalink
Add linux target
Browse files Browse the repository at this point in the history
  • Loading branch information
hodgef committed Mar 28, 2022
1 parent f93d0db commit 8f883cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
os: [macos-latest, windows-latest]
os: [ubuntu-latest]

steps:
- name: Check out Git repository
Expand Down
12 changes: 0 additions & 12 deletions scripts/afterSignHook.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,6 @@ module.exports = async function (params) {
console.log('status', status);
}

/**
* Validate staple
*/
const validateRes = await stapleValidate(appPath);
console.log(validateRes);

} else {
console.log('No RequestUUID in response');
}
Expand Down Expand Up @@ -101,16 +95,10 @@ const checkRequestStatus = (requestUUID) => {

const stapleApp = async (appPath) => {
const res = execSync(`xcrun stapler staple ${appPath}`, opts).toString();
console.log('res', res);

if(res.includes('worked!')){
return true;
} else {
return false;
}
}

const stapleValidate = async (appPath) => {
const res = execSync(`xcrun stapler validate ${appPath}`, opts).toString();
return res;
}

0 comments on commit 8f883cf

Please sign in to comment.