-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathModuleConfig.cfc
More file actions
106 lines (99 loc) · 6.65 KB
/
ModuleConfig.cfc
File metadata and controls
106 lines (99 loc) · 6.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
component {
this.name = "commandbox-semantic-release";
this.autoMapModels = false;
this.dependencies = [ "hyper" ];
function configure() {
settings = {
"versionPrefix" = "v",
"changelogFileName" = "CHANGELOG.md",
"targetBranch" = "master",
"buildCommitMessage" = "__SEMANTIC RELEASE VERSION UPDATE__",
"plugins-VerifyConditions" = "GitHubActionsConditionsVerifier@commandbox-semantic-release",
"plugins-VerifyConditions-buildTimeout" = 600, // seconds
"plugins-VerifyConditions-pollingInterval" = 5, // seconds
"plugins-FetchLastRelease" = "ForgeBoxReleaseFetcher@commandbox-semantic-release",
"plugins-RetrieveCommits" = "JGitCommitsRetriever@commandbox-semantic-release",
"plugins-ParseCommit" = "ConventionalChangelogParser@commandbox-semantic-release",
"plugins-FilterCommits" = "DefaultCommitFilterer@commandbox-semantic-release",
"plugins-AnalyzeCommits" = "DefaultCommitAnalyzer@commandbox-semantic-release",
"plugins-VerifyRelease" = "NullReleaseVerifier@commandbox-semantic-release",
"plugins-GenerateNotes" = "GitHubMarkdownNotesGenerator@commandbox-semantic-release",
"plugins-UpdateChangelog" = "FileAppendChangelogUpdater@commandbox-semantic-release",
"plugins-CommitArtifacts" = "GitHubArtifactsCommitter@commandbox-semantic-release",
"plugins-CommitArtifacts-authorName" = "CommandBox Semantic Release",
"plugins-CommitArtifacts-authorEmail" = "csr@example.com",
"plugins-PublishRelease" = "ForgeBoxReleasePublisher@commandbox-semantic-release",
"plugins-PublicizeRelease" = "GitHubReleasePublicizer@commandbox-semantic-release"
};
binder.map( "TravisConditionsVerifier@commandbox-semantic-release" )
.to( "#moduleMapping#.models.plugins.TravisConditionsVerifier" );
binder.map( "NullConditionsVerifier@commandbox-semantic-release" )
.to( "#moduleMapping#.models.plugins.NullConditionsVerifier" );
binder.map( "GitLabConditionsVerifier@commandbox-semantic-release" )
.to( "#moduleMapping#.models.plugins.GitLabConditionsVerifier" );
binder.map( "GitHubActionsConditionsVerifier@commandbox-semantic-release" )
.to( "#moduleMapping#.models.plugins.GitHubActionsConditionsVerifier" );
binder.map( "ForgeBoxReleaseFetcher@commandbox-semantic-release" )
.to( "#moduleMapping#.models.plugins.ForgeBoxReleaseFetcher" );
binder.map( "JGitCommitsRetriever@commandbox-semantic-release" )
.to( "#moduleMapping#.models.plugins.JGitCommitsRetriever" );
binder.map( "ConventionalChangelogParser@commandbox-semantic-release" )
.to( "#moduleMapping#.models.plugins.ConventionalChangelogParser" );
binder.map( "EmojiLogCommitParser@commandbox-semantic-release" )
.to( "#moduleMapping#.models.plugins.EmojiLogCommitParser" );
binder.map( "DefaultCommitFilterer@commandbox-semantic-release" )
.to( "#moduleMapping#.models.plugins.DefaultCommitFilterer" );
binder.map( "DefaultCommitAnalyzer@commandbox-semantic-release" )
.to( "#moduleMapping#.models.plugins.DefaultCommitAnalyzer" );
binder.map( "EmojiLogCommitAnalyzer@commandbox-semantic-release" )
.to( "#moduleMapping#.models.plugins.EmojiLogCommitAnalyzer" );
binder.map( "NullReleaseVerifier@commandbox-semantic-release" )
.to( "#moduleMapping#.models.plugins.NullReleaseVerifier" );
binder.map( "GitHubMarkdownNotesGenerator@commandbox-semantic-release" )
.to( "#moduleMapping#.models.plugins.GitHubMarkdownNotesGenerator" );
binder.map( "FileAppendChangelogUpdater@commandbox-semantic-release" )
.to( "#moduleMapping#.models.plugins.FileAppendChangelogUpdater" );
binder.map( "NullArtifactsCommitter@commandbox-semantic-release" )
.to( "#moduleMapping#.models.plugins.NullArtifactsCommitter" );
binder.map( "GitHubArtifactsCommitter@commandbox-semantic-release" )
.to( "#moduleMapping#.models.plugins.GitHubArtifactsCommitter" );
binder.map( "ForgeBoxReleasePublisher@commandbox-semantic-release" )
.to( "#moduleMapping#.models.plugins.ForgeBoxReleasePublisher" );
binder.map( "GitHubReleasePublicizer@commandbox-semantic-release" )
.to( "#moduleMapping#.models.plugins.GitHubReleasePublicizer" );
binder.map( "GitLabConditionsVerifier@commandbox-semantic-release" )
.to( "#moduleMapping#.models.plugins.GitLabConditionsVerifier" );
binder.map( "GitLabArtifactsCommitter@commandbox-semantic-release" )
.to( "#moduleMapping#.models.plugins.GitLabArtifactsCommitter" );
binder.map( "GitLabReleaseFetcher@commandbox-semantic-release" )
.to( "#moduleMapping#.models.plugins.GitLabReleaseFetcher" );
binder.map( "GitLabReleasePublicizer@commandbox-semantic-release" )
.to( "#moduleMapping#.models.plugins.GitLabReleasePublicizer" );
}
function onLoad() {
binder.map( "VerifyConditions@commandbox-semantic-release" )
.toDSL( settings[ "plugins-VerifyConditions" ] );
binder.map( "FetchLastRelease@commandbox-semantic-release" )
.toDSL( settings[ "plugins-FetchLastRelease" ] );
binder.map( "RetrieveCommits@commandbox-semantic-release" )
.toDSL( settings[ "plugins-RetrieveCommits" ] );
binder.map( "ParseCommit@commandbox-semantic-release" )
.toDSL( settings[ "plugins-ParseCommit" ] );
binder.map( "FilterCommits@commandbox-semantic-release" )
.toDSL( settings[ "plugins-FilterCommits" ] );
binder.map( "AnalyzeCommits@commandbox-semantic-release" )
.toDSL( settings[ "plugins-AnalyzeCommits" ] );
binder.map( "VerifyRelease@commandbox-semantic-release" )
.toDSL( settings[ "plugins-VerifyRelease" ] );
binder.map( "GenerateNotes@commandbox-semantic-release" )
.toDSL( settings[ "plugins-GenerateNotes" ] );
binder.map( "UpdateChangelog@commandbox-semantic-release" )
.toDSL( settings[ "plugins-UpdateChangelog" ] );
binder.map( "CommitArtifacts@commandbox-semantic-release" )
.toDSL( settings[ "plugins-CommitArtifacts" ] );
binder.map( "PublishRelease@commandbox-semantic-release" )
.toDSL( settings[ "plugins-PublishRelease" ] );
binder.map( "PublicizeRelease@commandbox-semantic-release" )
.toDSL( settings[ "plugins-PublicizeRelease" ] );
}
}