GeezerVison is showing github.com — Add build definition · PowerShell/PowerShell@db54281
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboard +26Lines changed: 26 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +steps: |
| 2 | +- task: ShellScript@2 |
| 3 | + inputs: |
| 4 | + scriptPath: 'tools/releaseBuild/setReleaseTag.sh' |
| 5 | + args: '-ReleaseTag $(ReleaseTagVar) -Variable "ReleaseTagVar"' |
| 6 | + displayName: 'Calculate Release Tag' |
| 7 | +- task: ShellScript@2 |
| 8 | + inputs: |
| 9 | + scriptPath: 'tools/installpsh-osx.sh' |
| 10 | + displayName: 'Install pwsh' |
| 11 | +- task: ShellScript@2 |
| 12 | + inputs: |
| 13 | + scriptPath: 'tools/releaseBuild/macOS/createPowerShell.sh' |
| 14 | + displayName: 'Create /PowerShell' |
| 15 | +- task: ShellScript@2 |
| 16 | + inputs: |
| 17 | + scriptPath: 'tools/releaseBuild/macOS/PowerShellPackageVsts.sh' |
| 18 | + args: '-location $(Build.SourcesDirectory) -BootStrap' |
| 19 | + displayName: 'Bootstrap VM' |
| 20 | +- task: ShellScript@2 |
| 21 | + inputs: |
| 22 | + scriptPath: 'tools/releaseBuild/macOS/PowerShellPackageVsts.sh' |
| 23 | + args: '-ReleaseTag $(ReleaseTagVar) -Destination $(System.ArtifactsDirectory) -ExtraPackage "zip","tar" -location $(Build.SourcesDirectory) -Build' |
| 24 | + disableAutoCwd: true |
| 25 | + cwd: 'tools/releaseBuild/macOS' |
| 26 | + displayName: 'Build and Package' |