mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Use Build.BuildId for more useful build versions
This commit is contained in:
@@ -42,7 +42,7 @@ async function getReleaseVersion () {
|
||||
if (!process.env.SYSTEM_PULLREQUEST_PULLREQUESTNUMBER) {
|
||||
// Only set the build number on non-PR builds as it causes build errors when
|
||||
// non-admins send PRs to the repo
|
||||
console.log(`##vso[build.updatebuildnumber]${releaseVersion}+${process.env.BUILD_BUILDNUMBER}`)
|
||||
console.log(`##vso[build.updatebuildnumber]${releaseVersion}+${process.env.BUILD_BUILDID}`)
|
||||
}
|
||||
|
||||
// Write out some variables that indicate whether artifacts should be uploaded
|
||||
|
||||
Reference in New Issue
Block a user