Skip to content

Commit 88ff168

Browse files
authored
Fix changelog generator (#298)
1 parent 4057e42 commit 88ff168

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

appveyor.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
GitHubUserName:
3030
secure: 7OBtVAMTodMWK20wg6pGnQ==
3131
GitHubUserEmail:
32-
secure: HeABB68Sn/Lhbd69C2cUcfWv0ab/rMDEcOLvcxf8gGw=
32+
secure: /NpmL1KqwHyHFnF0GlUovA586wDIt8Hg/Q8Dro6kUpk=
3333
GitHubToken:
34-
secure: WOqlCsnwTzfDPJFoNV/h8mEESIpG/9uFn1u6oE8hGZtXwIQQlsY+NyyLt9Y5xoFn
34+
secure: i/2hGsqVMwzdM5yIS4rxOIeG3ftx7su7klWYN80s/fHvgk7A5H2fF3oUTNLcyTbw
3535

3636
init:
3737
- git config --global core.autocrlf true
@@ -82,7 +82,7 @@
8282
- provider: GitHub
8383
tag: v$(GitVersion_MajorMinorPatch)
8484
release: nanoFramework VS2017 Extension v$(GitVersion_MajorMinorPatch)
85-
description: '[CHANGELOG.md](https://github.com/nanoframework/nf-Visual-Studio-extension/blob/master/CHANGELOG.md)\n\n## Install from Visual Studio Marketplace\n\nThe following Visual Studio Extensions are available for install from this release\n\n[nanoFramework VS2017 Extension](https://marketplace.visualstudio.com/items?itemName=vs-publisher-1470366.nanoFrameworkVS2017Extension)'
85+
description: 'Check the [changelog](https://github.com/nanoframework/nf-Visual-Studio-extension/blob/master/CHANGELOG.md).\n\n### Install from Visual Studio Marketplace\n\nThe following Visual Studio Extensions are available for install from this release\n\n- [nanoFramework VS2017 Extension](https://marketplace.visualstudio.com/items?itemName=vs-publisher-1470366.nanoFrameworkVS2017Extension)'
8686
auth_token:
8787
secure: DNixoFFE+pGlwyhj7McfZoln42vOmj0iY1iNV9zXEr3y0NpXlOIgL8k5ehzlFM1S
8888
artifact: VS_extension
@@ -141,9 +141,9 @@
141141
GitHubUserName:
142142
secure: 7OBtVAMTodMWK20wg6pGnQ==
143143
GitHubUserEmail:
144-
secure: HeABB68Sn/Lhbd69C2cUcfWv0ab/rMDEcOLvcxf8gGw=
144+
secure: /NpmL1KqwHyHFnF0GlUovA586wDIt8Hg/Q8Dro6kUpk=
145145
GitHubToken:
146-
secure: WOqlCsnwTzfDPJFoNV/h8mEESIpG/9uFn1u6oE8hGZtXwIQQlsY+NyyLt9Y5xoFn
146+
secure: i/2hGsqVMwzdM5yIS4rxOIeG3ftx7su7klWYN80s/fHvgk7A5H2fF3oUTNLcyTbw
147147

148148
init:
149149
- git config --global core.autocrlf true
@@ -184,7 +184,7 @@
184184
- provider: GitHub
185185
tag: v$(GitVersion_MajorMinorPatch).$(GitVersion_CommitsSinceVersionSource)
186186
release: nanoFramework VS2017 Extension v$(GitVersion_MajorMinorPatch).$(GitVersion_CommitsSinceVersionSource)
187-
description: '[CHANGELOG.md](https://github.com/nanoframework/nf-Visual-Studio-extension/blob/master/CHANGELOG.md)\n\n## Install from nanoFramework MyGet development feed\n\nThe following Visual Studio Extensions are available for install from this release\n\n[nanoFramework VS2017 Extension](https://www.myget.org/feed/nanoframework-dev/package/vsix/47973986-ed3c-4b64-ba40-a9da73b44ef7)'
187+
description: 'Check the [changelog](https://github.com/nanoframework/nf-Visual-Studio-extension/blob/developer/CHANGELOG.md).\n\n## Install from nanoFramework MyGet development feed\n\nThe following Visual Studio Extensions are available for install from this release\n\n- [nanoFramework VS2017 Extension](https://www.myget.org/feed/nanoframework-dev/package/vsix/47973986-ed3c-4b64-ba40-a9da73b44ef7)'
188188
auth_token:
189189
secure: DNixoFFE+pGlwyhj7McfZoln42vOmj0iY1iNV9zXEr3y0NpXlOIgL8k5ehzlFM1S
190190
artifact: VS_extension
@@ -249,9 +249,9 @@
249249
GitHubUserName:
250250
secure: 7OBtVAMTodMWK20wg6pGnQ==
251251
GitHubUserEmail:
252-
secure: HeABB68Sn/Lhbd69C2cUcfWv0ab/rMDEcOLvcxf8gGw=
252+
secure: /NpmL1KqwHyHFnF0GlUovA586wDIt8Hg/Q8Dro6kUpk=
253253
GitHubToken:
254-
secure: WOqlCsnwTzfDPJFoNV/h8mEESIpG/9uFn1u6oE8hGZtXwIQQlsY+NyyLt9Y5xoFn
254+
secure: i/2hGsqVMwzdM5yIS4rxOIeG3ftx7su7klWYN80s/fHvgk7A5H2fF3oUTNLcyTbw
255255

256256
init:
257257
- git config --global core.autocrlf true
@@ -305,7 +305,7 @@
305305
- provider: GitHub
306306
tag: v$(GitVersion_MajorMinorPatch).$(GitVersion_CommitsSinceVersionSource)
307307
release: nanoFramework VS2017 Extension v$(GitVersion_MajorMinorPatch).$(GitVersion_CommitsSinceVersionSource)
308-
description: '[CHANGELOG.md](https://github.com/nanoframework/nf-Visual-Studio-extension/blob/master/CHANGELOG.md)\n\n## Install from nanoFramework MyGet development feed\n\nThe following Visual Studio Extensions are available for install from this release\n\n[nanoFramework VS2017 Extension](https://www.myget.org/feed/nanoframework-dev/package/vsix/47973986-ed3c-4b64-ba40-a9da73b44ef7)'
308+
description: 'Check the [changelog](https://github.com/nanoframework/nf-Visual-Studio-extension/blob/developer/CHANGELOG.md).\n\n### Install from nanoFramework MyGet development feed\n\nThe following Visual Studio Extensions are available for install from this release\n\n- [nanoFramework VS2017 Extension](https://www.myget.org/feed/nanoframework-dev/package/vsix/47973986-ed3c-4b64-ba40-a9da73b44ef7)'
309309
auth_token:
310310
secure: DNixoFFE+pGlwyhj7McfZoln42vOmj0iY1iNV9zXEr3y0NpXlOIgL8k5ehzlFM1S
311311
artifact: VS_extension

generate-change-log.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ if ($env:appveyor_repo_tag -eq "true")
88
bundle exec github_changelog_generator --token $env:GitHubToken --future-release "v$env:GitVersion_MajorMinorPatch.$env:GitVersion_CommitsSinceVersionSource"
99

1010
# updated changelog and the updated assembly info files
11-
git add .
12-
git commit --amend --no-edit
11+
git add CHANGELOG.md
12+
git commit -m "Update CHANGELOG for v$env:GitVersion_MajorMinorPatch.$env:GitVersion_CommitsSinceVersionSource"
13+
git push origin HEAD:$env:APPVEYOR_REPO_BRANCH
1314
}

0 commit comments

Comments
 (0)