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-api.git
The following commit(s) were added to refs/heads/master by this push:
new 58b391e AMQNET-638 Add SourceLink support
new 8ec8c3c Merge pull request #13 from lrushl/master
58b391e is described below
commit 58b391ef49bb041514a32fc24dec13ae77cc43ed
Author: Ruslan Shupoval <[email protected]>
AuthorDate: Sun Apr 5 19:30:26 2020 +0300
AMQNET-638 Add SourceLink support
---
package.ps1 | 6 +++++-
src/nms-api/nms-api.csproj | 16 +++++++++++++++-
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/package.ps1 b/package.ps1
index 21ffb7a..002736e 100644
--- a/package.ps1
+++ b/package.ps1
@@ -14,7 +14,7 @@
# limitations under the License.
$pkgname = "Apache.NMS"
-$pkgver = "1.8.0"
+$pkgver = "1.8.1"
$frameworks = "net35", "net40", "netstandard2.0"
write-progress "Creating package directory." "Initializing..."
@@ -52,6 +52,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-api/nms-api.csproj b/src/nms-api/nms-api.csproj
index a5e210f..fa3c205 100644
--- a/src/nms-api/nms-api.csproj
+++ b/src/nms-api/nms-api.csproj
@@ -32,7 +32,7 @@ with the License. You may obtain a copy of the License at
<PropertyGroup>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageId>Apache.NMS</PackageId>
- <Version>1.8.0</Version>
+ <Version>1.8.1</Version>
<Authors>Apache ActiveMQ</Authors>
<Company>Apache Software Foundation</Company>
<Product>Apache NMS API</Product>
@@ -47,6 +47,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"/>