-
Notifications
You must be signed in to change notification settings - Fork 5.9k
scripts/build: ditch -vsc suffix #1310
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
Conversation
This would fix some automation systems since keeping the vsc suffix with our new tag deployment system breaks some of the CIs most people use.
This is to add some sort of seperation between the version and the name of the binary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's update scripts/test.sh
to just check that the version output starts with "info". That's probably enough to ensure the binary packaged correctly and is serving code-server. Seems I forgot to add the test step to Travis which is why it passed.
scripts/build.ts
Outdated
@@ -231,7 +231,7 @@ class Builder { | |||
|
|||
const [productJson, packageJson] = await Promise.all([ | |||
merge("product", { commit, date }), | |||
merge("package", { codeServerVersion: `${codeServerVersion}-vsc${vscodeVersion}` }), | |||
merge("package", { codeServerVersion: codeServerVersion }), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a big deal but this could be { codeServerVersion }
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice catch
Also I think we should add a line to |
Point me to the right direction @code-asher, I don't think I know where. |
Signed-off-by: Ayane Satomi <[email protected]>
also added a sanity check for daily version print Signed-off-by: Ayane Satomi <[email protected]>
Just a little note I can't push to the repository at the moment, but I have the changes ready to merge. |
@code-asher says he already merged into #1338 |
This would fix some automation systems since keeping the vsc suffix with our new tag deployment system breaks some of the CIs most people use.
This should reproduce quite predictable builds like we did previously.
This compliments GH-1303.