Skip to content

Commit 6557ed7

Browse files
authored
Merge pull request #61 from Azure/myget-symbols
MyGet symbol packages publishing
2 parents 3dab736 + 58edfe5 commit 6557ed7

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

build/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Build
2+
3+
## Purpose
4+
This folder contains the MSBuild `.proj` files for running certain build configurations in this repository.

build/publish.proj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
<Target Name="All">
2121
<Message Importance="high" Text="Publish: All started" />
2222
<ItemGroup>
23-
<PackagePaths Include="$(PackDir)*.nupkg" />
23+
<PackagePaths Include="$(PackDir)*.nupkg" Exclude="$(PackDir)*symbols.nupkg" />
2424
</ItemGroup>
25-
<Exec Command="$(NuGet) push %(PackagePaths.FullPath) -ApiKey $(NuGetApiKey) -Source https://www.myget.org/F/azure-powershell/api/v2/package" />
25+
<Exec Command="$(NuGet) push %(PackagePaths.FullPath) -ApiKey $(NuGetApiKey) -Source https://www.myget.org/F/azure-powershell/api/v2/package -SymbolSource https://www.myget.org/F/azure-powershell/symbols/api/v2/package -SymbolApiKey $(NuGetApiKey)" />
2626
<PropertyGroup>
2727
<!-- https://stackoverflow.com/a/41618979/294804 -->
2828
<ReleaseCommand>[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest -Uri 'https://api.github.com/repos/Azure/azure-powershell-common/releases' -Headers @{ 'Authorization' = 'Token $(GitHubAccessToken)' } -Method Post -Body (ConvertTo-Json @{ 'tag_name' = '$(ReleaseVersion)'; 'target_commitish' = '$(CommitId)'; 'name' = '$(ReleaseVersion)'; 'body' = 'Azure PowerShell Common version $(ReleaseVersion)'; 'draft' = $false; 'prerelease' = $false })</ReleaseCommand>

src/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,9 @@ All dependencies for all projects are managed within the `src` folder for this r
88
- Use NuGet package manager within Visual Studio [`Right click project -> Manage NuGet Packages...`] to add/update/remove dependencies for any project
99

1010
### How to add/update dependencies
11-
- TODO: Add this information
11+
- TODO: Add this information
12+
13+
## Acquiring Symbols in Visual Studio
14+
We publish the symbols for this repository to our MyGet feed. The URL for our symbols MyGet feed is: https://www.myget.org/F/azure-powershell/symbols/
15+
16+
To add this feed to your Visual Studio, please follow the steps here: https://docs.myget.org/docs/reference/symbols#Consuming_symbol_packages_in_Visual_Studio

0 commit comments

Comments
 (0)