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

feat: use custom tag instead of custom version for MS electron releases #181309

Merged
merged 12 commits into from
Jun 17, 2023

Conversation

deepak1556
Copy link
Contributor

Copy link
Member

@bpasero bpasero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am debating with myself if I should do a similar change for how we download node.js here:

if (product.nodejsRepository) {
return assetFromGithub(product.nodejsRepository, nodeVersion, name => name === `win-${arch}-node.exe`)
.pipe(rename('node.exe'));
}

However, what I find a bit strange is to have the msBuildNumber in our OSS sources and then only use it when electronRepository is defined in product.json.

I think a more elegant solution would be to encode repository and build number in the product.json, no?

@deepak1556
Copy link
Contributor Author

deepak1556 commented May 23, 2023

Yeah I thought about that, but that approach makes it bit harder since we need to bump distro everytime the buildid changes. Additionally the current change keeps the version updates in the public repo for transparency.

@bpasero
Copy link
Member

bpasero commented Jun 13, 2023

Fyi for node.js I am going with an approach where the version and checksums are part of the product.json:

https://github.com/microsoft/vscode/pull/184877/files#diff-285888428ebaab4e7985b695829cc9e47f98d2857505070ccacae3432b7b11dcR85-R88

@deepak1556
Copy link
Contributor Author

deepak1556 commented Jun 13, 2023

Why not upload the Sha sums to release assets ex: https://github.com/electron/electron/releases/download/v25.1.0/SHASUMS256.txt and download from their for validation ? Also same for node.js https://github.com/nodejs/node#verifying-binaries

@deepak1556 deepak1556 force-pushed the robo/feat_electron_tag branch 2 times, most recently from 855d47a to f694e49 Compare June 16, 2023 14:18
@deepak1556
Copy link
Contributor Author

@deepak1556 deepak1556 marked this pull request as ready for review June 17, 2023 00:41
@deepak1556 deepak1556 added this to the June 2023 milestone Jun 17, 2023
@deepak1556 deepak1556 enabled auto-merge (squash) June 17, 2023 00:41
@deepak1556 deepak1556 merged commit 8fb5ea0 into main Jun 17, 2023
6 checks passed
@deepak1556 deepak1556 deleted the robo/feat_electron_tag branch June 17, 2023 01:03
@github-actions github-actions bot locked and limited conversation to collaborators Aug 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants