Skip to content

Commit

Permalink
Merge branch 'release/4.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
nils-a committed Mar 16, 2021
2 parents b7a6f7e + 0db961a commit 49ffaa0
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 13 deletions.
4 changes: 3 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
version: 2
updates:
- package-ecosystem: "nuget"
directory: "/"
directory: "/source"
schedule:
interval: "daily"
target-branch: "develop"
ignore:
- dependency-name: "Cake.Core"
- dependency-name: "Cake.Common"
- dependency-name: "Cake.Testing"
- dependency-name: "NuGet.Protocol"
- dependency-name: "NuGet.Packaging"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,24 @@ name: Build

on:
push:
branches:
- main
- develop
- "feature/**"
- "release/**"
- "hotfix/**"
tags:
- "*"
paths-ignore:
- "README.md"
pull_request:

jobs:
build:
runs-on: ${{ matrix.os }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
os: [ windows-2019, ubuntu-18.04, macos-10.15 ]

steps:
- name: Checkout the repository
Expand All @@ -33,7 +40,7 @@ jobs:
script-path: recipe.cake
target: CI
verbosity: Diagnostic
cake-version: 0.38.4
cake-version: 0.38.5
cake-bootstrap: true

# currently, Cake.Recipe does not upload artifacts when run on gh-actions
Expand All @@ -48,7 +55,7 @@ jobs:
- name: Upload Packages
uses: actions/upload-artifact@v2
if: matrix.os == 'windows-latest'
if: runner.os == 'Windows'
with:
if-no-files-found: warn
name: package
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-18.04

strategy:
fail-fast: false
Expand All @@ -32,7 +32,7 @@ jobs:
with:
languages: ${{ matrix.language }}

- run: ./build.ps1
- run: ./build.ps1 --target=DotNetCore-Build
shell: pwsh

- name: Perform CodeQL Analysis
Expand Down
11 changes: 11 additions & 0 deletions GitReleaseManager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ create:
with `#addin nuget:?package=Cake.ExtendedNuGet&version={milestone}`.
footer-includes-milestone: true
milestone-replace-text: "{milestone}"
include-sha-section: true
sha-section-heading: "SHA256 Hashes of the release artifacts"
sha-section-line-format: "- `{1}\t{0}`"
export:
include-created-date-in-title: true
created-date-string-format: yyyy-MM-dd
Expand All @@ -32,3 +35,11 @@ issue-labels-alias:
- name: security
header: Security
plural: Security
close:
use-issue-comments: true
issue-comment: |-
:tada: This issue has been resolved in version {milestone} :tada:
The release is available on:
- [GitHub Release](https://github.com/{owner}/{repository}/releases/tag/{milestone})
- [NuGet Package](https://www.nuget.org/packages/Cake.ExtendedNuGet/{milestone})
Your **[GitReleaseManager](https://github.com/GitTools/GitReleaseManager)** bot :package::rocket:
2 changes: 1 addition & 1 deletion recipe.cake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#load nuget:?package=Cake.Recipe&version=2.1.0
#load nuget:?package=Cake.Recipe&version=2.2.1

Environment.SetVariableNames();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<PackageReference Include="Cake.Common" Version="1.0.0" />
<PackageReference Include="Cake.Core" Version="1.0.0" />
<PackageReference Include="Cake.Testing" Version="1.0.0" />
<PackageReference Include="coverlet.msbuild" Version="3.0.2">
<PackageReference Include="coverlet.msbuild" Version="3.0.3">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand All @@ -19,11 +19,11 @@
<PackageReference Include="NuGet.Packaging" Version="5.4.0" PrivateAssets="All" />
<PackageReference Include="NuGet.Protocol" Version="5.4.0" PrivateAssets="All" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Include="xunit.runner.console" Version="2.4.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
4 changes: 2 additions & 2 deletions source/Cake.ExtendedNuGet/Cake.ExtendedNuGet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<Title>Cake.ExtendedNuGet</Title>
<Description>Cake Build addon to provide Aliases for NuGet package inspection.</Description>
<Summary>Cake build aliases for NuGet package inspection.</Summary>
<PackageTags>Cake Script Build</PackageTags>
<PackageTags>cake;script;build;cake-build;addin;cake-contrib;cake-addin;nuget</PackageTags>
<Authors>Redth</Authors>
<Owners>Redth, cake-contrib</Owners>
<PackageProjectUrl>https://github.com/cake-contrib/Cake.ExtendedNuGet</PackageProjectUrl>
Expand All @@ -35,7 +35,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Cake.Addin.Analyzer" Version="0.1.1">
<PackageReference Include="Cake.Addin.Analyzer" Version="0.1.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit 49ffaa0

Please sign in to comment.