This is an automated email from the ASF dual-hosted git repository.

havret pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq-nms-amqp.git


The following commit(s) were added to refs/heads/master by this push:
     new 2ae371c  AMQNET-639 Add SourceLink support
     new 2e97a3c  Merge pull request #55 from lrushl/master
2ae371c is described below

commit 2ae371cf99f9fdd88227be32eb3651c6c9451345
Author: Ruslan Shupoval <[email protected]>
AuthorDate: Mon Apr 6 01:36:28 2020 +0300

    AMQNET-639 Add SourceLink support
---
 package.ps1                         |  8 ++++++--
 src/NMS.AMQP/Apache-NMS-AMQP.csproj | 16 +++++++++++++++-
 2 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/package.ps1 b/package.ps1
index 72aaffb..991752a 100644
--- a/package.ps1
+++ b/package.ps1
@@ -14,7 +14,7 @@
 # limitations under the License.
 
 $pkgname = "Apache.NMS.AMQP"
-$pkgver = "1.8.0"
+$pkgver = "1.8.2"
 $frameworks = "netstandard2.0"
 
 write-progress "Creating package directory." "Initializing..."
@@ -34,7 +34,7 @@ if (test-path build) {
     write-progress "Packaging Application files." "Scanning..."
     $zipfile = "$pkgdir\$pkgname-$pkgver-bin.zip"
 
-    Compress-Archive -Path ..\LICENSE.txt, ..\NOTICE.txt -Update 
-DestinationPath $zipfile        
+    Compress-Archive -Path ..\LICENSE.txt, ..\NOTICE.txt -Update 
-DestinationPath $zipfile
     
     # clean up temp
     Remove-Item temp -Recurse -ErrorAction Ignore
@@ -48,6 +48,10 @@ if (test-path build) {
     $nupkgdestination = "$pkgdir\$nupkg"
     Copy-Item -Path $nupkg -Destination $nupkgdestination
 
+    $snupkg = "$pkgname.$pkgver.snupkg"
+    $snupkgdestination = "$pkgdir\$snupkg"
+    Copy-Item -Path $snupkg -Destination $snupkgdestination
+
     # clean up temp
     Remove-Item temp -Recurse -ErrorAction Inquire
 
diff --git a/src/NMS.AMQP/Apache-NMS-AMQP.csproj 
b/src/NMS.AMQP/Apache-NMS-AMQP.csproj
index 872fcdc..90f8c20 100644
--- a/src/NMS.AMQP/Apache-NMS-AMQP.csproj
+++ b/src/NMS.AMQP/Apache-NMS-AMQP.csproj
@@ -33,7 +33,7 @@ with the License.  You may obtain a copy of the License at
     <PropertyGroup>
         <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
         <PackageId>Apache.NMS.AMQP</PackageId>
-        <Version>1.8.1</Version>
+        <Version>1.8.2</Version>
         <Authors>Apache ActiveMQ</Authors>
         <Company>Apache Software Foundation</Company>
         <Product>Apache ActiveMQ NMS AMQP Client</Product>
@@ -48,6 +48,20 @@ with the License.  You may obtain a copy of the License at
         <PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
     </PropertyGroup>
 
+    <!-- SourceLink Start -->
+    <PropertyGroup>
+        <!-- Embed source files that are not tracked by the source control 
manager in the PDB -->
+        <EmbedUntrackedSources>true</EmbedUntrackedSources>
+        <!-- Build symbol package (.snupkg) to distribute the PDB containing 
Source Link -->
+        <IncludeSymbols>true</IncludeSymbols>
+        <SymbolPackageFormat>snupkg</SymbolPackageFormat>
+    </PropertyGroup>
+    <ItemGroup>
+        <!-- Add PackageReference specific for your source control provider 
(see below) -->
+        <PackageReference Include="Microsoft.SourceLink.GitHub" 
Version="1.0.0" PrivateAssets="All" />
+    </ItemGroup>
+    <!-- SourceLink End -->
+
     <ItemGroup>
         <None Include="..\..\LICENSE.txt" Pack="true" 
PackagePath="LICENSE.txt" />
         <None Include="..\..\NOTICE.txt" Pack="true" PackagePath="NOTICE.txt" 
/>

Reply via email to