Skip to content

Commit e85000c

Browse files
committed
1.0.4.0
1 parent 386e694 commit e85000c

File tree

4 files changed

+25
-26
lines changed

4 files changed

+25
-26
lines changed

Chocolatey/GitHubReleaseNotes/GitHubReleaseNotes.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Refe
3939
<!-- projectUrl is required for the community feed -->
4040
<projectUrl>https://github.com/StefH/GitHubReleaseNotes</projectUrl>
4141
<iconUrl>https://raw.githubusercontent.com/StefH/GitHubReleaseNotes/master/icon.png</iconUrl>
42-
<copyright>2018 Stef Heyenrath</copyright>
42+
<copyright>2018 - 2019 Stef Heyenrath</copyright>
4343
<!-- If there is a license Url available, it is required for the community feed -->
4444
<licenseUrl>https://raw.githubusercontent.com/StefH/GitHubReleaseNotes/master/LICENSE</licenseUrl>
4545
<!--<requireLicenseAcceptance>true</requireLicenseAcceptance>-->
Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,21 @@
1-
Quick start guide
1+
# HowTo
22

3-
- Generate new package:
4-
`choco new -h will get you started seeing options available to you.`
5-
Once you figured out all of your options, you should move forward with generating your template.
6-
- Edit template using common sense
7-
`cd package-name`
8-
Edit the `package-name.nuspec` configuration file.
9-
Edit the `./tools/chocolateyInstall.ps1` install script.
10-
Make sure you figure out the installer's silent mode. Use Universal Silent Switch Finder, which is available as a Choco package: choco install ussf
11-
You must save your files with UTF–8 character encoding without BOM. (Details)
12-
- Build the package
13-
Still in package directory
14-
`choco pack`
15-
* "Successfully created package-name.1.1.0.nupkg"
16-
- Test the package
17-
Testing should probably be done on a Virtual Machine
18-
In your package directory, use:
19-
* `choco install package-name -s .` (package-name is the id element in the nuspec)
20-
- Push the package to the Chocolatey community package repository:
21-
Get a Chocolatey account:
22-
* Register
23-
Copy the API key from your Chocolatey account.
24-
`choco apikey -k [API_KEY_HERE] -source https://push.chocolatey.org/`
25-
`choco push package-name.1.1.0.nupkg -s https://push.chocolatey.org/` The nupkg file can be ommitted if it is the only one in the directory.
3+
## Pack
4+
5+
Run as **Administrator**:
6+
``` cmd
7+
cd .\Chocolatey\GitHubReleaseNotes
8+
choco pack
9+
```
10+
11+
## Push
12+
13+
First set the api-key:
14+
``` cmd
15+
choco apikey --key {KEY} --source https://push.chocolatey.org/
16+
```
17+
18+
Then push:
19+
``` cmd
20+
choco push githubreleasenotes.1.0.4.0.nupkg --source https://push.chocolatey.org/
21+
```

ReleaseNotes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 1.0.4.0 (21 January 2019)
2+
- [#8](https://github.com/StefH/GitHubReleaseNotes/pull/8) - Add token and login+password authentication [feature] contributed by [StefH](https://github.com/StefH)
3+
14
# 1.0.3.0 (18 November 2018)
25
- [#7](https://github.com/StefH/GitHubReleaseNotes/pull/7) - Add Labels and command-line option to provide your own template [feature] contributed by [StefH](https://github.com/StefH)
36
- [#6](https://github.com/StefH/GitHubReleaseNotes/issues/6) - Group issues by label

ReleaseNotes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
GitHubReleaseNotes.exe --output ReleaseNotes.md --version 1.0.3.0 --skip-empty-releases
1+
GitHubReleaseNotes.exe --output ReleaseNotes.md --version 1.0.4.0 --skip-empty-releases

0 commit comments

Comments
 (0)