NO-JIRA Update package script to include nuget
diff --git a/package.ps1 b/package.ps1
index 49db3d0..4059091 100644
--- a/package.ps1
+++ b/package.ps1
@@ -14,7 +14,7 @@
# limitations under the License.
$pkgname = "Apache.NMS"
-$pkgver = "1.8-SNAPSHOT"
+$pkgver = "1.8.0"
$frameworks = "net35", "net40", "netstandard2.0"
write-progress "Creating package directory." "Initializing..."
@@ -38,6 +38,10 @@
foreach ($framework in $frameworks) {
Compress-Archive -Path $framework -Update -DestinationPath $zipfile
}
+
+ $nupkg = "$pkgname.$pkgver.nupkg"
+ $nupkgdestination = "$pkgdir\$nupkg"
+ Copy-Item -Path $nupkg -Destination $nupkgdestination
Pop-Location
}
@@ -67,4 +71,4 @@
Compress-Archive -Path "docs\_site\*", "LICENSE.txt", "NOTICE.txt" -Update -DestinationPath $zipfile
-write-progress -Completed "Packaging" "Complete."
\ No newline at end of file
+write-progress -Completed "Packaging" "Complete."