mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 03:19:56 +00:00
Builds - Store build info as JSON for auto-update usage
This commit is contained in:
1 parent
621cf31c2d
commit
45fef11a67
3 files changed
+23
-1
No files matched your search
+12
-1
@@ -12,7 +12,11 @@ pool:
|
||||
variables:
|
||||
artemisSolution: '**/Artemis.sln'
|
||||
NUGET_PACKAGES: $(Pipeline.Workspace)/.nuget/packages
|
||||
|
||||
BuildId: $(Build.BuildId)
|
||||
BuildNumber: $(Build.BuildNumber)
|
||||
SourceBranch: $(Build.SourceBranch)
|
||||
SourceVersion: $(Build.SourceVersion)
|
||||
|
||||
steps:
|
||||
- checkout: self
|
||||
path: s/Artemis
|
||||
@@ -53,6 +57,13 @@ steps:
|
||||
artifactName: 'Artemis build'
|
||||
targetPath: '$(Build.ArtifactStagingDirectory)/build'
|
||||
|
||||
- task: FileTransform@1
|
||||
displayName: 'Populate buildinfo.json'
|
||||
inputs:
|
||||
folderPath: '$(Build.ArtifactStagingDirectory)/build'
|
||||
fileType: 'json'
|
||||
targetFiles: '**/buildinfo.json'
|
||||
|
||||
- task: PublishPipelineArtifact@1
|
||||
displayName: 'Upload build to Azure Pipelines'
|
||||
inputs:
|
||||
|
||||
Reference in new issue
Block a user