Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add code signing certificate details for Windows build #16670

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ environment:
secure: tAoqu4zIgZUxOfW0u9YQgw==
GH_PRIVATE_KEY:
secure: msLmlIBnkNovqrqTeCqa7ZPjETyS8Xn4JLuiRMWYK7gZBTO66pNnFaoeqwPFwH+ooO0cDFhAOPTToLisgTLXCo4hnw38zuBuKq+ywCh5mtk5uZn4x4F8G2XyRLD/ViZm+VuD2yZzaTWF11upDqC4xbXDe32yD6OSLKhA5ms5F5ke83zEuWSLTqVVCIpVH12rVTJHl3QHaWPwZbBBE3SFN8D6uiclvI06y3pEg2bVShU8YqlwearYTRuErsYXNCUmT0SrDd2kHznlYf08edQDHpydnQvvTViZMgomvYp5wDCXFD+/FxtTMuTptJFpspirXL8w/xjYy1/JaTd/K01oUUD2Xwl/v0cS28OpdcraETyrQxQhEgTCXfg9ONbZ5mRvQlkaRROaTqDSGMmEPs4N91zarpA7RLxu7PPvxXQcbDW4GiJvH5BhVWu8lY/QBZsr8It1dhLYSzTPNIh9ey8xNaUbZ3oQhPBoreRi36B+FSPBsrZpB8Q8aa97gd+lCa8br2RfaEpzx8gA0pSK44odqcGuJe7T8MHOqYo0cUEUb2UypPPG7mWyjGip+x3Z9P/vSrZzDV+YFFvEzQAMoyRMp/456V+YL8iduryMRIadkJcB4ZVZz2hsxY5Gv6Eeh9NhwzyM64Rz5NP5fJ9Kw8E5Vm+ddEmft8Ec6dajcURoVN0i+s8t7h/e3Hzrr62UjWr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yieRwEGKxIo0PaxdmVwsF7vKR6ZnOpr5BuLm/+44Rg3bQdJ4bcRW6i6dIhOyHWniLvsAPLu1NZDVN6jA13KTChhcrNnSGddjRFLekawl80E3KhG1p+KvItIZX3kzG4QjJ
WIN_CSC_LINK:
secure: WIN_CSC_LINK # todo: should be added by Cypress team
WIN_CSC_KEY_PASSWORD:
secure: WIN_CSC_KEY_PASSWORD # todo: should be added by Cypress team

platform:
- x64
Expand Down
14 changes: 8 additions & 6 deletions scripts/win-appveyor-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,21 @@ const isRightBranch = () => {
const branch =
process.env.APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH ||
process.env.APPVEYOR_REPO_BRANCH
const shouldForceBinaryBuild = (
process.env.APPVEYOR_REPO_COMMIT_MESSAGE || ''
).includes('[build binary]')
const shouldForceBinaryBuild = [
process.env.APPVEYOR_REPO_COMMIT_MESSAGE || '',
process.env.APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED || '',
].some((message) => message.includes('[build binary]'))

const branchesToBuildBinary = ['develop', '7.0-release']

return branchesToBuildBinary.includes(branch) || shouldForceBinaryBuild
}

const isForkedPullRequest = () => {
const repoName = process.env.APPVEYOR_PULL_REQUEST_HEAD_REPO_NAME

return repoName && repoName !== 'cypress-io/cypress'
// const repoName = process.env.APPVEYOR_PULL_REQUEST_HEAD_REPO_NAME
//
// return repoName && repoName !== 'cypress-io/cypress'
return false // todo: revert back before merging
}

const shouldBuildBinary = () => {
Expand Down