Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit ab8f9a0

Browse files
committed
WIP: Update build
1 parent 12b7f8f commit ab8f9a0

File tree

3 files changed

+19
-23
lines changed

3 files changed

+19
-23
lines changed

.pipelines/TextUtility-Official.yml

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,26 @@
1-
name: TextUtility-ModuleBuild-$(Build.BuildId)
2-
trigger: none
3-
pr: none
1+
trigger:
2+
- main
43

54
schedules:
65
- cron: '0 3 * * 1'
7-
displayName: Weekly Build
6+
displayName: Weekly CodeQL
87
branches:
98
include:
109
- main
1110
always: true
1211

1312
parameters:
14-
- name: 'publishToPowerShellGallery'
15-
displayName: 'Publish module to PowerShell gallery'
16-
type: boolean
17-
default: false
13+
- name: debug
14+
displayName: Enable debug output
15+
type: boolean
16+
default: false
1817

1918
variables:
19+
system.debug: ${{ parameters.debug }}
2020
BuildConfiguration: Release
21+
WindowsContainerImage: onebranch.azurecr.io/windows/ltsc2022/vse2022:latest
2122
DOTNET_NOLOGO: true
2223
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
23-
DOTNET_CLI_TELEMETRY_OPTOUT: 1
24-
POWERSHELL_TELEMETRY_OPTOUT: 1
25-
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
26-
WindowsContainerImage: onebranch.azurecr.io/windows/ltsc2022/vse2022:latest
2724

2825
resources:
2926
repositories:
@@ -36,16 +33,17 @@ extends:
3633
# https://aka.ms/obpipelines/templates
3734
template: v2/OneBranch.Official.CrossPlat.yml@templates
3835
parameters:
39-
featureFlags:
40-
WindowsHostVersion: '1ESWindows2022'
4136
globalSdl: # https://aka.ms/obpipelines/sdl
4237
asyncSdl:
4338
enabled: true
4439
forStages: [build]
45-
#credscan:
46-
# enabled: true
47-
# scanfolder: $(Build.SourcesDirectory)
48-
# suppressionsFile: $(Build.SourcesDirectory)\.config\suppress.json
40+
featureFlags:
41+
EnableCDPxPAT: false
42+
WindowsHostVersion:
43+
Version: 2022
44+
Network: KS3
45+
release:
46+
category: NonAzure
4947
stages:
5048
- stage: build
5149
jobs:
@@ -54,10 +52,7 @@ extends:
5452
pool:
5553
type: windows
5654
variables:
57-
- name: ob_outputDirectory
58-
value: $(Build.SourcesDirectory)/out
59-
#- name: ob_sdl_credscan_suppressionsFile
60-
# value: $(Build.SourcesDirectory)\.config\suppress.json
55+
ob_outputDirectory: $(Build.SourcesDirectory)/out
6156
steps:
6257
- pwsh: |
6358
Write-Verbose -Verbose ((Get-Item $(Build.SourcesDirectory)).FullName)

Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<Project>
22
<PropertyGroup>
3+
<ModuleVersion>0.5.0</ModuleVersion>
34
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
45
</PropertyGroup>
56
</Project>

src/Microsoft.PowerShell.TextUtility.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
@{
55
RootModule = '.\Microsoft.PowerShell.TextUtility.dll'
6-
ModuleVersion = '0.5.0'
6+
ModuleVersion = '{{ModuleVersion}}'
77
CompatiblePSEditions = @('Desktop', 'Core')
88
GUID = '5cb64356-cd04-4a18-90a4-fa4072126155'
99
Author = 'Microsoft Corporation'

0 commit comments

Comments
 (0)