Skip to content

Commit 62b05e9

Browse files
committed
(GH-43) Refactoring nuspec's
- To include all required information - Changed id to be githubreleasemanager.portable for Chocolatey deployment - Changed SVG to not include the created by text, attribution will be specified elsewhere
1 parent ac61c38 commit 62b05e9

File tree

6 files changed

+39
-24
lines changed

6 files changed

+39
-24
lines changed

Icons/package_icon.svg

Lines changed: 1 addition & 2 deletions
Loading

Packaging/nuget/GitHubReleaseManager.Cli.nuspec

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
3+
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
4+
<id>githubreleasemanager.portable</id>
5+
<title>GitHubReleaseManager</title>
6+
<version>$version$</version>
7+
<authors>gep13</authors>
8+
<owners>gep13</owners>
9+
<licenseUrl>https://github.com/gep13/GitHubReleaseManager/blob/develop/LICENSE</licenseUrl>
10+
<projectUrl>https://github.com/gep13/GitHubReleaseManager</projectUrl>
11+
<iconUrl></iconUrl>
12+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
13+
<description>Tool for creating and exporting releases for software applications hosted on Github</description>
14+
<summary>Tool for creating and exporting releases for software applications hosted on Github</summary>
15+
<copyright>Copyright 2015</copyright>
16+
<language>en-GB</language>
17+
<tags>github release notes create export</tags>
18+
</metadata>
19+
<files>
20+
<file src="..\..\BuildArtifacts\GitHubReleaseManager.Cli.exe" target="tools" />
21+
<file src="chocolateyInstall.ps1" target="tools"/>
22+
<file src="chocolateyUninstall.ps1" target="tools"/>
23+
</files>
24+
</package>

Packaging/nuget/GitHubReleaseManager.nuspec

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<package xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
4-
<id>GitHubReleaseManager</id>
5-
<title>Generates release notes</title>
4+
<id>githubreleasemanager</id>
5+
<title>GitHubReleaseManager</title>
66
<version>$version$</version>
77
<authors>gep13</authors>
8-
<owners>gep13</owners>
9-
<projectUrl>http://www.gep13.co.uk</projectUrl>
10-
<description>Create release notes in markdown given a GH milestone</description>
11-
<tags>github release notes</tags>
8+
<owners>gep13</owners>
9+
<licenseUrl>https://github.com/gep13/GitHubReleaseManager/blob/develop/LICENSE</licenseUrl>
10+
<projectUrl>https://github.com/gep13/GitHubReleaseManager</projectUrl>
11+
<iconUrl></iconUrl>
12+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
13+
<description>Tool for creating and exporting releases for software applications hosted on Github</description>
14+
<summary>Tool for creating and exporting releases for software applications hosted on Github</summary>
15+
<copyright>Copyright 2015</copyright>
16+
<language>en-GB</language>
17+
<tags>github release notes create export</tags>
1218
</metadata>
1319
<files>
1420
<file src="..\..\BuildArtifacts\GitHubReleaseManager.dll" target="tools" />

Packaging/nuget/chocolateyInstall.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Generate-BinFile "ghrm" "$packageFolder\Tools\GitHubReleaseManager.Cli.exe"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove-BinFile "ghrm" "$packageFolder\Tools\GitHubReleaseManager.Cli.exe"

0 commit comments

Comments
 (0)