mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
Revert "Added Artemis.Plugins.Games to build"
This reverts commit 1e62213a6f9d9932120748ba3dfe4135b0e83813.
This commit is contained in:
parent
1e62213a6f
commit
a68f06d4b7
@ -18,12 +18,7 @@ resources:
|
|||||||
type: github
|
type: github
|
||||||
endpoint: github.com_SpoinkyNL
|
endpoint: github.com_SpoinkyNL
|
||||||
name: Artemis-RGB/Artemis.Plugins
|
name: Artemis-RGB/Artemis.Plugins
|
||||||
ref: master
|
ref: master
|
||||||
- repository: GamePlugins
|
|
||||||
type: github
|
|
||||||
endpoint: github.com_SpoinkyNL
|
|
||||||
name: Artemis-RGB/Artemis.Plugins.Games
|
|
||||||
ref: master
|
|
||||||
|
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'windows-latest'
|
vmImage: 'windows-latest'
|
||||||
@ -32,7 +27,6 @@ variables:
|
|||||||
artemisSolution: '**/Artemis.sln'
|
artemisSolution: '**/Artemis.sln'
|
||||||
rgbSolution: '**/RGB.NET.sln'
|
rgbSolution: '**/RGB.NET.sln'
|
||||||
pluginProjects: '**/Artemis.Plugins.*.csproj'
|
pluginProjects: '**/Artemis.Plugins.*.csproj'
|
||||||
gamePluginProjects: '**/Artemis.Plugins.Games.*.csproj'
|
|
||||||
BuildId: $(Build.BuildId)
|
BuildId: $(Build.BuildId)
|
||||||
BuildNumber: $(Build.BuildNumber)
|
BuildNumber: $(Build.BuildNumber)
|
||||||
SourceBranch: $(Build.SourceBranch)
|
SourceBranch: $(Build.SourceBranch)
|
||||||
@ -45,8 +39,6 @@ steps:
|
|||||||
path: s/Artemis
|
path: s/Artemis
|
||||||
- checkout: Plugins
|
- checkout: Plugins
|
||||||
path: s/Artemis.Plugins
|
path: s/Artemis.Plugins
|
||||||
- checkout: GamePlugins
|
|
||||||
path: s/Artemis.Plugins.Games
|
|
||||||
|
|
||||||
- task: DotNetCoreCLI@2
|
- task: DotNetCoreCLI@2
|
||||||
displayName: 'RGB.NET - Build'
|
displayName: 'RGB.NET - Build'
|
||||||
@ -83,14 +75,14 @@ steps:
|
|||||||
|
|
||||||
# Copy Artemis binaries to where plugin projects expect them
|
# Copy Artemis binaries to where plugin projects expect them
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
displayName: 'Artemis.Plugins - Prepare Artemis binaries'
|
displayName: 'Plugins - Prepare Artemis binaries'
|
||||||
inputs:
|
inputs:
|
||||||
SourceFolder: '$(Build.ArtifactStagingDirectory)/build'
|
SourceFolder: '$(Build.ArtifactStagingDirectory)/build'
|
||||||
Contents: '**'
|
Contents: '**'
|
||||||
TargetFolder: 'Artemis/src/Artemis.UI/bin/net5.0-windows'
|
TargetFolder: 'Artemis/src/Artemis.UI/bin/net5.0-windows'
|
||||||
|
|
||||||
- task: PowerShell@2
|
- task: PowerShell@2
|
||||||
displayName: 'Artemis.Plugins - Insert build number into plugin.json'
|
displayName: 'Plugins - Insert build number into plugin.json'
|
||||||
inputs:
|
inputs:
|
||||||
targetType: 'inline'
|
targetType: 'inline'
|
||||||
script: |
|
script: |
|
||||||
@ -103,29 +95,6 @@ steps:
|
|||||||
}
|
}
|
||||||
workingDirectory: 'Artemis.Plugins'
|
workingDirectory: 'Artemis.Plugins'
|
||||||
|
|
||||||
- task: DotNetCoreCLI@2
|
|
||||||
displayName: 'Artemis.Plugins.Games - Publish'
|
|
||||||
inputs:
|
|
||||||
command: 'publish'
|
|
||||||
publishWebProjects: false
|
|
||||||
arguments: '--runtime win-x64 --configuration Release --self-contained false --output $(Build.ArtifactStagingDirectory)/build/Plugins'
|
|
||||||
projects: '$(pluginProjects)'
|
|
||||||
zipAfterPublish: true
|
|
||||||
|
|
||||||
- task: PowerShell@2
|
|
||||||
displayName: 'Artemis.Plugins.Games - Insert build number into plugin.json'
|
|
||||||
inputs:
|
|
||||||
targetType: 'inline'
|
|
||||||
script: |
|
|
||||||
Get-ChildItem -Recurse -Filter plugin.json |
|
|
||||||
Foreach-Object {
|
|
||||||
$buidNumber = "1.0.1." + $Env:BUILD_BUILDID;
|
|
||||||
$a = Get-Content $_.FullName | ConvertFrom-Json
|
|
||||||
$a.Version = $buidNumber;
|
|
||||||
$a | ConvertTo-Json | Set-Content $_.FullName
|
|
||||||
}
|
|
||||||
workingDirectory: 'Artemis.Plugins.Games'
|
|
||||||
|
|
||||||
- task: DotNetCoreCLI@2
|
- task: DotNetCoreCLI@2
|
||||||
displayName: 'Plugins - Publish'
|
displayName: 'Plugins - Publish'
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user