Skip to content

Commit fb0e9f6

Browse files
committed
Updated GitReleaseManager
1 parent f0e5275 commit fb0e9f6

File tree

3 files changed

+18
-12
lines changed

3 files changed

+18
-12
lines changed

GitReleaseManager.yaml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,27 @@
1-
create:
2-
include-sha-section: true
31
issue-labels-include:
42
- Breaking change
53
- Feature
64
- Bug
75
- Improvement
86
- Documentation
7+
- Dependencies
98
issue-labels-exclude:
109
- Build
1110
issue-labels-alias:
1211
- name: Documentation
1312
header: Documentation
1413
plural: Documentation
14+
create:
15+
include-sha-section: true
16+
sha-section-heading: "SHA256 Hashes of the release artifacts"
17+
sha-section-line-format: "- `{1}\t{0}`"
18+
close:
19+
use-issue-comments: true
20+
issue-comment: |-
21+
:tada: This issue has been resolved in version {milestone} :tada:
22+
The release is available on:
23+
- [GitHub Release](https://github.com/{owner}/{repository}/releases/tag/{milestone})
24+
- [Chocolatey Package](https://chocolatey.org/packages/GitVersion.Portable/{milestone})
25+
- [.Net Global Tool](https://www.nuget.org/packages/GitVersion.Tool/{milestone})
26+
27+
Your **[GitReleaseManager](https://github.com/GitTools/GitReleaseManager)** bot :package::rocket:

build.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
// Install .NET Core Global tools.
3030
#tool "dotnet:?package=Codecov.Tool&version=1.7.2"
31-
#tool "dotnet:?package=GitReleaseManager.Tool&version=0.9.0"
31+
#tool "dotnet:?package=GitReleaseManager.Tool&version=0.10.3"
3232

3333
// Load other scripts.
3434
#load "./build/utils/parameters.cake"

build/utils/credentials.cake

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,16 @@ public class BuildCredentials
2727

2828
public class GitHubCredentials
2929
{
30-
public string UserName { get; private set; }
31-
public string Password { get; private set; }
3230
public string Token { get; private set; }
3331

34-
public GitHubCredentials(string userName, string password, string token)
32+
public GitHubCredentials(string token)
3533
{
36-
UserName = userName;
37-
Password = password;
3834
Token = token;
3935
}
4036

4137
public static GitHubCredentials GetGitHubCredentials(ICakeContext context)
4238
{
43-
return new GitHubCredentials(
44-
context.EnvironmentVariable("GITHUB_USERNAME"),
45-
context.EnvironmentVariable("GITHUB_PASSWORD"),
46-
context.EnvironmentVariable("GITHUB_TOKEN"));
39+
return new GitHubCredentials(context.EnvironmentVariable("GITHUB_TOKEN"));
4740
}
4841
}
4942

0 commit comments

Comments
 (0)