-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged PR 10602: Rewrite icomoonpicker from angularjs to lit
- Loading branch information
1 parent
3a7643a
commit 76e95b2
Showing
125 changed files
with
23,624 additions
and
267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,112 +1,131 @@ | ||
trigger: | ||
branches: | ||
include: | ||
- v10/main | ||
- v10/develop | ||
- v10/release/* | ||
- v10/hotfix | ||
- v10/main | ||
- v10/develop | ||
- v10/release/* | ||
- v10/hotfix | ||
tags: | ||
include: | ||
- 10.* | ||
- 10.* | ||
|
||
pool: | ||
name: Default | ||
|
||
variables: | ||
BuildConfiguration: 'release' | ||
BuildPlatform: 'any cpu' | ||
variables: | ||
BuildConfiguration: "release" | ||
BuildPlatform: "any cpu" | ||
Solution: '**\*.sln' | ||
NpmWorkingDirectory: 'src\Infocaster.Umbraco.IcomoonPicker' | ||
|
||
stages: | ||
- stage: build | ||
displayName: Build | ||
jobs: | ||
- job: build | ||
- stage: build | ||
displayName: Build | ||
steps: | ||
- task: GitVersion@5 | ||
displayName: GitVersion | ||
inputs: | ||
configFilePath: GitVersion.yml | ||
updateAssemblyInfo: true | ||
|
||
- task: UseDotNet@2 | ||
displayName: 'Use .NET 6' | ||
inputs: | ||
packageType: 'sdk' | ||
version: '6.x' | ||
|
||
- task: DotNetCoreCLI@2 | ||
displayName: 'dotnet restore' | ||
inputs: | ||
command: restore | ||
feedsToUse: config | ||
nugetConfigPath: nuget.config | ||
|
||
- task: DotNetCoreCLI@2 | ||
displayName: 'dotnet build' | ||
inputs: | ||
command: build | ||
projects: Infocaster.Umbraco.IcomoonPicker.sln | ||
arguments: '--configuration $(BuildConfiguration) -p:Version=$(GitVersion.NuGetVersion)' | ||
|
||
- task: DotNetCoreCLI@2 | ||
displayName: 'dotnet pack' | ||
inputs: | ||
command: pack | ||
arguments: '--configuration $(BuildConfiguration) -p:Version=$(GitVersion.NuGetVersion)' | ||
packagesToPack: src/**/*.csproj | ||
versioningScheme: byEnvVar | ||
versionEnvVar: GitVersion.NuGetVersion | ||
|
||
- task: PublishBuildArtifacts@1 | ||
displayName: 'Publish build artifacts' | ||
inputs: | ||
PathtoPublish: '$(build.artifactstagingdirectory)' | ||
ArtifactName: 'drop' | ||
publishLocation: 'Container' | ||
|
||
- stage: release | ||
displayName: Release | ||
dependsOn: build | ||
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/')) | ||
variables: | ||
packageGlob: '$(Pipeline.Workspace)/**/IcomoonPicker*.nupkg' | ||
jobs: | ||
- job: releaseArtifact | ||
displayName: Push to artifacts | ||
workspace: | ||
clean: all | ||
steps: | ||
- checkout: none | ||
|
||
- download: current | ||
patterns: '**/*.nupkg' | ||
displayName: Download build artifact | ||
|
||
- task: DotNetCoreCLI@2 | ||
displayName: 'dotnet push' | ||
inputs: | ||
command: push | ||
publishVstsFeed: '3356baca-d7d8-497c-a5fa-ebd93f79f7c7' | ||
versioningScheme: byBuildNumber | ||
packagesToPush: $(packageGlob) | ||
|
||
- job: releaseNuget | ||
displayName: Push to nuget | ||
workspace: | ||
clean: all | ||
steps: | ||
- checkout: none | ||
|
||
- download: current | ||
patterns: '**/*.nupkg' | ||
displayName: Download build artifact | ||
|
||
- task: DotNetCoreCLI@2 | ||
displayName: 'push to nuget.org' | ||
inputs: | ||
command: custom | ||
custom: nuget | ||
arguments: 'push $(packageGlob) -s https://api.nuget.org/v3/index.json --api-key $(NuGetApiKey)' | ||
jobs: | ||
- job: build | ||
displayName: Build | ||
steps: | ||
- task: GitVersion@5 | ||
displayName: GitVersion | ||
inputs: | ||
configFilePath: GitVersion.yml | ||
updateAssemblyInfo: true | ||
|
||
- task: NodeTool@0 | ||
displayName: "Use node 20.x" | ||
inputs: | ||
versionSpec: "20.x" | ||
|
||
- task: Npm@1 | ||
displayName: "Install icomoonpicker plugin front end packages" | ||
inputs: | ||
command: "custom" | ||
workingDir: $(NpmWorkingDirectory) | ||
customCommand: "ci" | ||
|
||
- task: Npm@1 | ||
displayName: "Build icomoonpicker plugin front end" | ||
inputs: | ||
command: "custom" | ||
workingDir: $(NpmWorkingDirectory) | ||
customCommand: "run build" | ||
|
||
- task: UseDotNet@2 | ||
displayName: "Use .NET 6" | ||
inputs: | ||
packageType: "sdk" | ||
version: "6.x" | ||
|
||
- task: DotNetCoreCLI@2 | ||
displayName: "dotnet restore" | ||
inputs: | ||
command: restore | ||
feedsToUse: config | ||
nugetConfigPath: nuget.config | ||
|
||
- task: DotNetCoreCLI@2 | ||
displayName: "dotnet build" | ||
inputs: | ||
command: build | ||
projects: Infocaster.Umbraco.IcomoonPicker.sln | ||
arguments: "--configuration $(BuildConfiguration) -p:Version=$(GitVersion.NuGetVersion)" | ||
|
||
- task: DotNetCoreCLI@2 | ||
displayName: "dotnet pack" | ||
inputs: | ||
command: pack | ||
arguments: "--configuration $(BuildConfiguration) -p:Version=$(GitVersion.NuGetVersion)" | ||
packagesToPack: src/**/*.csproj | ||
versioningScheme: byEnvVar | ||
versionEnvVar: GitVersion.NuGetVersion | ||
|
||
- task: PublishBuildArtifacts@1 | ||
displayName: "Publish build artifacts" | ||
inputs: | ||
PathtoPublish: "$(build.artifactstagingdirectory)" | ||
ArtifactName: "drop" | ||
publishLocation: "Container" | ||
|
||
- stage: release | ||
displayName: Release | ||
dependsOn: build | ||
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/')) | ||
variables: | ||
packageGlob: "$(Pipeline.Workspace)/**/IcomoonPicker*.nupkg" | ||
jobs: | ||
- job: releaseArtifact | ||
displayName: Push to artifacts | ||
workspace: | ||
clean: all | ||
steps: | ||
- checkout: none | ||
|
||
- download: current | ||
patterns: "**/*.nupkg" | ||
displayName: Download build artifact | ||
|
||
- task: DotNetCoreCLI@2 | ||
displayName: "dotnet push" | ||
inputs: | ||
command: push | ||
publishVstsFeed: "3356baca-d7d8-497c-a5fa-ebd93f79f7c7" | ||
versioningScheme: byBuildNumber | ||
packagesToPush: $(packageGlob) | ||
|
||
- job: releaseNuget | ||
displayName: Push to nuget | ||
workspace: | ||
clean: all | ||
steps: | ||
- checkout: none | ||
|
||
- download: current | ||
patterns: "**/*.nupkg" | ||
displayName: Download build artifact | ||
|
||
- task: DotNetCoreCLI@2 | ||
displayName: "push to nuget.org" | ||
inputs: | ||
command: custom | ||
custom: nuget | ||
arguments: "push $(packageGlob) -s https://api.nuget.org/v3/index.json --api-key $(NuGetApiKey)" |
Oops, something went wrong.