Skip to content

Commit 047a628

Browse files
committed
Merge branch 'release/0.2.0'
* release/0.2.0: (#11) Add GitReleaaseManager template files (#11) Update GitReleaseManager configuration (#11) Update to latest GitReleaseManager (#10) Add support for build/sign of MSI (maint) Used consistent names/location for tasks (maint) Add more output information (#5) Removed hard coded file path (#9) Add support for Transifex (#8) Added ability to run GitReleaseManager (#7) Add GitHub Actions build provider (#6) Change name of CI Task (#2) Update to latest Cake.Recipe package
2 parents 45c10b5 + 9d9c0bd commit 047a628

32 files changed

+888
-437
lines changed

.appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ image: Visual Studio 2019
44
# Build Script #
55
#---------------------------------#
66
build_script:
7-
- ps: .\build.ps1 --target=AppVeyor
7+
- ps: .\build.ps1 --target=CI
88

99
# Tests
1010
test: off
@@ -24,4 +24,4 @@ branches:
2424
# Build Cache #
2525
#---------------------------------#
2626
cache:
27-
- tools -> build.ps1
27+
- tools -> recipe.cake

.config/dotnet-tools.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"cake.tool": {
6+
"version": "0.38.5",
7+
"commands": [
8+
"dotnet-cake"
9+
]
10+
}
11+
}
12+
}

.templates/default/create/footer.sbn

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{{ if config.create.include_footer }}
2+
3+
### {{ config.create.footer_heading }}
4+
5+
{{ if config.create.milestone_replace_text
6+
replace_milestone_title config.create.footer_content config.create.milestone_replace_text milestone.target.title
7+
else
8+
config.create.footer_content
9+
end
10+
end }}

.templates/default/index.sbn

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{{-
2+
include 'release-info'
3+
if milestone.target.description
4+
include 'milestone'
5+
end
6+
include 'issues' | string.rstrip
7+
if template_kind == "CREATE"
8+
include 'create/footer'
9+
end
10+
~}}

.templates/default/issue-details.sbn

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
### {{ issue_label }}
2+
3+
{{ for issue in issues.items[issue_label]
4+
include 'issue-note'
5+
end }}

.templates/default/issue-note.sbn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- {{ issue.title }} - see [#{{ issue.number }}]({{ issue.html_url }})

.templates/default/issues.sbn

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
{{ for issue_label in issue_labels
3+
include 'issue-details'
4+
end }}

.templates/default/milestone.sbn

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
{{ milestone.target.description }}

.templates/default/release-info.sbn

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{{
2+
if issues.count > 0
3+
if commits.count > 0
4+
}}As part of this release we had [{{ commits.count }} {{ commits.count | string.pluralize "commit" "commits" }}]({{ commits.html_url }}) which resulted in [{{ issues.count }} {{ issues.count | string.pluralize "issue" "issues" }}]({{ milestone.target.html_url }}?closed=1) being closed.
5+
{{ else
6+
}}As part of this release we had [{{ issues.count }} {{ issues.count | string.pluralize "issue" "issues" }}]({{ milestone.target.html_url }}?closed=1) closed.
7+
{{ end
8+
else if commits.count > 0
9+
}}As part of this release we had [{{ commits.count }} {{ commits.count | string.pluralize "commit" "commits" }}]({{ commits.html_url }}).
10+
{{ end -}}

Chocolatey.Cake.Recipe/Content/addins.cake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#addin nuget:?package=Cake.ReSharperReports&version=0.10.0
2222
#addin nuget:?package=Cake.StrongNameSigner&version=0.1.0
2323
#addin nuget:?package=Cake.StrongNameTool&version=0.0.5
24+
#addin nuget:?package=Cake.Transifex&version=1.0.1
2425
#addin nuget:?package=MagicChunks&version=2.0.0.119
2526

2627
// TODO: Conditionally decide whether to install packages or not

0 commit comments

Comments
 (0)