Prepare release for Chocolatey · microsoft/VSConfigFinder@a0ab83a (original) (raw)
5 files changed
lines changed
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -32,6 +32,11 @@ steps: | ||
| 32 | 32 | publishWebProjects: false |
| 33 | 33 | zipAfterPublish: false |
| 34 | 34 | |
| 35 | +- script: | | |
| 36 | + choco pack pkg\vswhere\VSConfigFinder.nuspec --out "bin\${{ parameters.BuildConfiguration }}" --version "%NBGV_NuGetPackageVersion%" "Configuration=${{ parameters.BuildConfiguration }}" "CommitId=$(Build.SourceVersion)" "Tag=$(Build.BuildNumber)" | |
| 37 | + displayName: Package | |
| 38 | +workingDirectory: $(Build.SourcesDirectory) | |
| 39 | + | |
| 35 | 40 | - task: CopyFiles@2 |
| 36 | 41 | displayName: 'Copy build artifacts from: (Build.SourcesDirectory)VSConfigFinderbin(Build.SourcesDirectory)\VSConfigFinder\bin\(Build.SourcesDirectory)VSConfigFinderbin(BuildConfiguration)\** to $(Build.ArtifactStagingDirectory)\out' |
| 37 | 42 | inputs: |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| 1 | + | |
| 2 | +<package xmlns="" title="undefined" rel="noopener noreferrer">http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"\> | |
| 3 | + <metadata> | |
| 4 | + <id>VSConfigFinder</id> | |
| 5 | + <version>$Version$</version> | |
| 6 | + <title>Visual Studio Configuration Finder</title> | |
| 7 | + <authors>Microsoft</authors> | |
| 8 | + <owners>Microsoft</owners> | |
| 9 | + <requireLicenseAcceptance>false</requireLicenseAcceptance> | |
| 10 | + <iconUrl>https://go.microsoft.com/fwlink/?linkid=839265</iconUrl> | |
| 11 | + <licenseUrl>https://github.com/Microsoft/VSConfigFinder/tree/$CommitId$/LICENSE.txt</licenseUrl> | |
| 12 | + <projectUrl>https://github.com/Microsoft/VSConfigFinder</projectUrl> | |
| 13 | + <description>Locate Visual Studio installation configuration files (.vsconfigs) downstream recursively and merge them altogether</description> | |
| 14 | + <summary>Locate Visual Studio installation configuration files (.vsconfigs) downstream recursively and merge them altogether</summary> | |
| 15 | + <copyright>© Microsoft Corporation. All rights reserved.</copyright> | |
| 16 | + <tags>vs vs2022 visualstudio</tags> | |
| 17 | + <developmentDependency>true</developmentDependency> | |
| 18 | + <projectSourceUrl>https://github.com/Microsoft/VSConfigFinder/tree/$CommitId$</projectSourceUrl> | |
| 19 | + <packageSourceUrl>https://github.com/Microsoft/VSConfigFinder/tree/$CommitId$/pkg/VSConfigFinder</packageSourceUrl> | |
| 20 | + <docsUrl>https://github.com/Microsoft/VSConfigFinder</docsUrl> | |
| 21 | + <bugTrackerUrl>https://github.com/Microsoft/VSConfigFinder/issues</bugTrackerUrl> | |
| 22 | + <releaseNotes>https://github.com/Microsoft/VSConfigFinder/releases/tag/$Tag$</releaseNotes> | |
| 23 | + </metadata> | |
| 24 | + <files> | |
| 25 | + <file src="build\VSConfigFinder.props" target="build\"/> | |
| 26 | + <file src="..\..\bin\$Configuration$\VSConfigFinder.exe" target="tools\"/> | |
| 27 | + <file src="..\..\LICENSE.txt" target="tools\"/> | |
| 28 | + <file src="tools\VERIFICATION.txt" target="tools\"/> | |
| 29 | + </files> | |
| 30 | +</package> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| 1 | + | |
| 2 | +<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="" title="undefined" rel="noopener noreferrer">http://schemas.microsoft.com/developer/msbuild/2003"\> | |
| 3 | + <PropertyGroup> | |
| 4 | + <VSWhereDir>$(MSBuildThisFileDirectory)..\tools\</VSWhereDir> | |
| 5 | + </PropertyGroup> | |
| 6 | +</Project> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| 1 | +VERIFICATION | |
| 2 | +Verification is intended to assist the Chocolatey moderators and community | |
| 3 | +in verifying that this package's contents are trustworthy. | |
| 4 | + | |
| 5 | +tools\VSConfigFinder.exe is produced by us from the same repository as this package: https://github.com/Microsoft/VSConfigFinder |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -34,4 +34,8 @@ steps: | ||
| 34 | 34 | |
| 35 | 35 | - template: build.yml |
| 36 | 36 | parameters: |
| 37 | -BuildConfiguration: $(BuildConfiguration) | |
| 37 | +BuildConfiguration: $(BuildConfiguration) | |
| 38 | + | |
| 39 | +- task: ms-vseng.MicroBuildTasks.521a94ea-9e68-468a-8167-6dcf361ea776.MicroBuildCleanup@1 | |
| 40 | +displayName: Clean up | |
| 41 | +condition: succeededOrFailed() |