Skip to content

Pull up DEV to MASTER #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Sep 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified README.md
Binary file not shown.
52 changes: 52 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger: none

pool:
vmImage: 'windows-2019'

resources:
repositories:
- repository: tools
type: github
name: Azure-Devops-PowerShell-Module/tools
endpoint: SchemaModule
ref: refs/heads/master
- repository: powershell
type: github
name: SchemaModule/PowerShell
endpoint: SchemaModule
ref: refs/heads/master

stages:
- stage: PackageAndDeployment
jobs:
- job: Packaging
displayName: 'nuGet Specfile Creation'
steps:
- checkout: tools
- checkout: powershell
- powershell: |
$WorkingPath = $pwd;
$toolsPath = "$($WorkingPath)\tools";
$modulePath = "$($WorkingPath)\powershell";
Set-Location $toolsPath;
.\ConvertTo-NuSpec.ps1 -ManifestPath "$($modulePath)\schema\schema.psd1"
displayName: 'Create nuSpec'
errorActionPreference: Stop
- task: NuGetCommand@2
displayName: 'NuGet pack'
inputs:
command: pack
packagesToPack: '$(BUILD.REPOSITORY.LOCALPATH)\powershell\schema\schema.nuspec'
packDestination: '$(BUILD.REPOSITORY.LOCALPATH)\powershell'
- task: NuGetCommand@2
displayName: 'NuGet push'
inputs:
command: push
packagesToPush: '$(BUILD.REPOSITORY.LOCALPATH)\powershell\*.nupkg;'
nuGetFeedType: external
publishFeedCredentials: poshGallery
Binary file added logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.