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
@ -19,11 +19,6 @@ resources:
|
||||
endpoint: github.com_SpoinkyNL
|
||||
name: Artemis-RGB/Artemis.Plugins
|
||||
ref: master
|
||||
- repository: GamePlugins
|
||||
type: github
|
||||
endpoint: github.com_SpoinkyNL
|
||||
name: Artemis-RGB/Artemis.Plugins.Games
|
||||
ref: master
|
||||
|
||||
pool:
|
||||
vmImage: 'windows-latest'
|
||||
@ -32,7 +27,6 @@ variables:
|
||||
artemisSolution: '**/Artemis.sln'
|
||||
rgbSolution: '**/RGB.NET.sln'
|
||||
pluginProjects: '**/Artemis.Plugins.*.csproj'
|
||||
gamePluginProjects: '**/Artemis.Plugins.Games.*.csproj'
|
||||
BuildId: $(Build.BuildId)
|
||||
BuildNumber: $(Build.BuildNumber)
|
||||
SourceBranch: $(Build.SourceBranch)
|
||||
@ -45,8 +39,6 @@ steps:
|
||||
path: s/Artemis
|
||||
- checkout: Plugins
|
||||
path: s/Artemis.Plugins
|
||||
- checkout: GamePlugins
|
||||
path: s/Artemis.Plugins.Games
|
||||
|
||||
- task: DotNetCoreCLI@2
|
||||
displayName: 'RGB.NET - Build'
|
||||
@ -83,14 +75,14 @@ steps:
|
||||
|
||||
# Copy Artemis binaries to where plugin projects expect them
|
||||
- task: CopyFiles@2
|
||||
displayName: 'Artemis.Plugins - Prepare Artemis binaries'
|
||||
displayName: 'Plugins - Prepare Artemis binaries'
|
||||
inputs:
|
||||
SourceFolder: '$(Build.ArtifactStagingDirectory)/build'
|
||||
Contents: '**'
|
||||
TargetFolder: 'Artemis/src/Artemis.UI/bin/net5.0-windows'
|
||||
|
||||
- task: PowerShell@2
|
||||
displayName: 'Artemis.Plugins - Insert build number into plugin.json'
|
||||
displayName: 'Plugins - Insert build number into plugin.json'
|
||||
inputs:
|
||||
targetType: 'inline'
|
||||
script: |
|
||||
@ -103,29 +95,6 @@ steps:
|
||||
}
|
||||
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
|
||||
displayName: 'Plugins - Publish'
|
||||
inputs:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user