activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hav...@apache.org
Subject [activemq-nms-openwire] branch master updated: NO-JIRA: Fix release scripts
Date Sun, 16 Aug 2020 17:37:12 GMT
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-openwire.git


The following commit(s) were added to refs/heads/master by this push:
     new f7d0653  NO-JIRA: Fix release scripts
f7d0653 is described below

commit f7d06533dfd31bce787e5c9231143577d93224a5
Author: Havret <h4vret@gmail.com>
AuthorDate: Sun Aug 16 19:36:59 2020 +0200

    NO-JIRA: Fix release scripts
---
 package.ps1             |  8 ++++++--
 src/nms-openwire.csproj | 15 +++++----------
 2 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/package.ps1 b/package.ps1
index 5427fbb..63af462 100644
--- a/package.ps1
+++ b/package.ps1
@@ -14,8 +14,8 @@
 # limitations under the License.
 
 $pkgname = "Apache.NMS.ActiveMQ"
-$pkgver = "1.8-SNAPSHOT"
-$frameworks = "net35", "net40", "netstandard2.0"
+$pkgver = "1.8.0"
+$frameworks = "net40", "netstandard2.0"
 
 write-progress "Creating package directory." "Initializing..."
 if (!(test-path package)) {
@@ -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-openwire.csproj b/src/nms-openwire.csproj
index 324e5c2..e97f1d0 100644
--- a/src/nms-openwire.csproj
+++ b/src/nms-openwire.csproj
@@ -18,16 +18,18 @@
     <SignAssembly>true</SignAssembly>
     <AssemblyOriginatorKeyFile>NMSKey.snk</AssemblyOriginatorKeyFile>
     <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
+    <IncludeSymbols>true</IncludeSymbols>
+    <SymbolPackageFormat>snupkg</SymbolPackageFormat>
     <Authors>Apache ActiveMQ</Authors>
   </PropertyGroup>
 
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
-    <OutputPath>..\..\build\</OutputPath>
+    <OutputPath>..\build\</OutputPath>
   </PropertyGroup>
 
   <ItemGroup>
-    <Content Include="..\LICENSE.txt" Link="LICENSE.txt" />
-    <Content Include="..\NOTICE.txt" Link="NOTICE.txt" />
+    <None Include="..\LICENSE.txt" Pack="true" PackagePath="LICENSE.txt" />
+    <None Include="..\NOTICE.txt" Pack="true" PackagePath="NOTICE.txt" />
   </ItemGroup>
 
   <ItemGroup Condition=" '$(TargetFramework)' == 'net35'">
@@ -42,13 +44,6 @@
     <PackageReference Include="Apache.NMS" Version="1.8.0" />
   </ItemGroup>
 
-  <ItemGroup>
-    <None Include="..\LICENSE.txt">
-      <Pack>True</Pack>
-      <PackagePath></PackagePath>
-    </None>
-  </ItemGroup>
-
   <ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
     <PackageReference Include="System.Runtime">
       <Version>4.3.1</Version>


Mime
View raw message