Skip to content

Commit

Permalink
Merge branch 'hotfix/0.26.2'
Browse files Browse the repository at this point in the history
* hotfix/0.26.2:
  (#139) Reset everything to default values
  (maint) synced local '.templates/' with remote '.github/GitReleaseManager/.templates/'
  • Loading branch information
gep13 committed Mar 18, 2024
2 parents c5b4a80 + 06f0d81 commit bb2e60b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .templates/default/issue-note.sbn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{
if issue_label == "Bug" || issue_label == "Bug Fix" || issue_label == "Bug Fixes"
}}- Fix - {{ issue.title }} - see [#{{ issue.number }}]({{ issue.html_url }}).
}}- Fix - {{ issue.title }} - see [#{{ issue.public_number }}]({{ issue.html_url }}).
{{ else
}}- {{ issue.title }} - see [#{{ issue.number }}]({{ issue.html_url }}).
}}- {{ issue.title }} - see [#{{ issue.public_number }}]({{ issue.html_url }}).
{{ end -}}
4 changes: 2 additions & 2 deletions .templates/default/release-info.sbn
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{{
if issues.count > 0
if commits.count > 0
}}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.
}}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 }}?{{ milestone.query_string }}) being closed.
{{ else
}}As part of this release we had [{{ issues.count }} {{ issues.count | string.pluralize "issue" "issues" }}]({{ milestone.target.html_url }}?closed=1) closed.
}}As part of this release we had [{{ issues.count }} {{ issues.count | string.pluralize "issue" "issues" }}]({{ milestone.target.html_url }}?{{ milestone.query_string }}) closed.
{{ end
else if commits.count > 0
}}As part of this release we had [{{ commits.count }} {{ commits.count | string.pluralize "commit" "commits" }}]({{ commits.html_url }}).
Expand Down
4 changes: 0 additions & 4 deletions Chocolatey.Cake.Recipe/Content/psscriptanalyzer.cake
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ BuildParameters.Tasks.PSScriptAnalyzerTask = Task("Run-PSScriptAnalyzer")
.WithModule("ConvertToSARIF")
.WithModule("Microsoft.PowerShell.Management")
.WithModule("Microsoft.PowerShell.Utility")
.SetLogOutput(true)
.OutputToAppConsole(true)
.WithArguments(args => {
args.AppendQuoted("AnalyzePath", PSScriptAnalyzerSetting.AnalysisPath.ToString())
.AppendQuoted("SettingsPath", PSScriptAnalyzerSetting.SettingsPath.ToString())
Expand All @@ -68,8 +66,6 @@ BuildParameters.Tasks.PSScriptAnalyzerTask = Task("Run-PSScriptAnalyzer")
.WithModule("ConvertToSARIF")
.WithModule("Microsoft.PowerShell.Management")
.WithModule("Microsoft.PowerShell.Utility")
.SetLogOutput(true)
.OutputToAppConsole(true)
.WithArguments(args => {
args.AppendQuoted("AnalyzePath", BuildParameters.RootDirectoryPath.ToString())
.AppendQuoted("SettingsPath", settingsFile.ToString())
Expand Down

0 comments on commit bb2e60b

Please sign in to comment.