Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/0.7.0 #44

Merged
merged 41 commits into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
94a60f7
Merge branch 'hotfix/0.6.1' into develop
gep13 Sep 6, 2019
992796b
Fix typo
jokay Oct 1, 2019
ec7bcd2
Merge pull request #14 from x-jokay/fix-typo
gep13 Oct 2, 2019
4260b79
(GH-15) Remove reference to gitter
gep13 Jan 14, 2021
d62c54b
(GH-15) Remove blog post
gep13 Jan 14, 2021
810c64d
(GH-15) Remove blog post
gep13 Jan 14, 2021
55287d3
(GH-16) Update GRM config
gep13 Feb 18, 2021
55949d6
(GH-17) Add workflow to generate release notes
gep13 Feb 18, 2021
1a8cc4a
(GH-18) Add workflow to build on GHA
gep13 Feb 18, 2021
da21467
(#20) Bump Cake.Recipe to 2.2.1
nils-a Jul 22, 2024
c60d767
Updated the GH workflows
nils-a Jul 22, 2024
31f5aeb
Updated the AppVeyor configuration
nils-a Jul 22, 2024
c217c94
Merge pull request #27 from nils-a/feature/GH-20
nils-a Jul 22, 2024
069f5d2
(#21) Remove usage of nuspec file(s) for NuGet packages
nils-a Jul 23, 2024
38ad8ce
Cleanup of unused files
nils-a Jul 23, 2024
83fc9ab
(#21) Add CakeContrib.Guidelines Nuget Package
nils-a Jul 23, 2024
536d871
(#21)(#19) fixed CCG0008 and added suggested tags
nils-a Jul 23, 2024
6eab94e
(#21) fixed CCG0005 and CCG0006
nils-a Jul 23, 2024
b38d4d9
fixed stylecop warnings
nils-a Jul 23, 2024
4c7aae0
fixed some Rider/R# warnings
nils-a Jul 23, 2024
41312fd
Enabled deterministic builds
nils-a Jul 23, 2024
bf3d9ea
Merge pull request #28 from nils-a/feature/GH-21
nils-a Jul 23, 2024
944d009
Add renovate.json
renovate[bot] Jul 23, 2024
04c573d
Configured renovate
nils-a Jul 23, 2024
92914b2
Merge pull request #29 from cake-contrib/renovate/configure
nils-a Jul 23, 2024
8b0d672
(#30) fix release-notes workflow
nils-a Jul 23, 2024
96351fb
Merge pull request #34 from nils-a/feature/GH-30
nils-a Jul 23, 2024
c84de4b
Pin dependencies
renovate[bot] Jul 23, 2024
6b58ad6
Merge pull request #31 from cake-contrib/renovate/pin-dependencies
nils-a Jul 23, 2024
b36c929
Update ad-m/github-push-action action to v0.8.0
renovate[bot] Jul 23, 2024
4bca80b
Merge pull request #32 from cake-contrib/renovate/ad-m-github-push-ac…
nils-a Jul 23, 2024
8ad8e11
(#35) add readme to nupkg
nils-a Jul 23, 2024
fb493b8
Merge pull request #36 from nils-a/feature/GH-35
nils-a Jul 23, 2024
b964fbb
(#22) Bump Cake.Recipe to 3.1.1
nils-a Jul 23, 2024
75a4b1c
Merge pull request #37 from nils-a/feature/GH-22
nils-a Jul 23, 2024
8168607
Update gittools/actions action to v2
renovate[bot] Jul 24, 2024
e3801bb
Merge pull request #43 from cake-contrib/renovate/gittools-actions-2.x
nils-a Jul 24, 2024
47a2426
Update dependency NSubstitute to v5
renovate[bot] Jul 24, 2024
15c1eb0
Merge pull request #42 from cake-contrib/renovate/nsubstitute-5.x
nils-a Jul 24, 2024
684da73
Update xunit-dotnet monorepo
renovate[bot] Jul 24, 2024
c908e14
Merge pull request #40 from cake-contrib/renovate/xunit-dotnet-monorepo
nils-a Jul 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 19 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,29 @@
#---------------------------------#
# Build Image #
#---------------------------------#
image: Visual Studio 2017
image: Visual Studio 2022

#---------------------------------#
# Install .NET #
#---------------------------------#
install:
- ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
- ps: Invoke-WebRequest -Uri "https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Channel 2.1 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Channel 3.1 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Channel 5.0 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Channel 6.0 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Channel 7.0 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Channel 8.0 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
- ps: dotnet --info

#---------------------------------#
# Build Script #
#---------------------------------#
build_script:
- ps: .\build.ps1 -Target AppVeyor
- ps: .\build.ps1 --target=CI

#---------------------------------#
# Tests
Expand Down Expand Up @@ -40,7 +56,7 @@ branches:
# Build Cache #
#---------------------------------#
cache:
- tools -> recipe.cake, tools/packages.config
- tools -> recipe.cake, .config/dotnet-tools.json

#---------------------------------#
# Skip builds for doc changes #
Expand Down
13 changes: 13 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"version": 1,
"isRoot": true,
"tools": {
"cake.tool": {
"version": "1.3.0",
"commands": [
"dotnet-cake"
],
"rollForward": false
}
}
}
12 changes: 7 additions & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ root = true

[*]
end_of_line = CRLF
trim_trailing_whitespace = true

[*.ps1]
indent_style = space
indent_size = 4
[*.md]
trim_trailing_whitespace = false

[*.cs]
[*.{bat,ps1}]
charset = utf-8-bom
end_of_line = crlf
indent_style = space
indent_size = 4

Expand All @@ -20,4 +22,4 @@ indent_size = 4

[*.js]
indent_style = tab
indent_size = 2
indent_size = 2
14 changes: 14 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>cake-contrib/renovate-presets:cake-recipe",
"github>cake-contrib/renovate-presets:github-actions" ],
"packageRules": [
{
"description": "Updates to Cake.Core references are breaking.",
"matchPackageNames": ["Cake.Core"],
"matchUpdateTypes": ["major"],
"labels": ["Breaking Change"]
}
]
}
92 changes: 92 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
name: Build

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

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2022, ubuntu-22.04, macos-12]

env:
AZURE_PASSWORD: ${{ secrets.AZURE_PASSWORD }}
AZURE_SOURCE: ${{ secrets.AZURE_SOURCE }}
AZURE_USER: ${{ secrets.AZURE_USER }}
GITHUB_PAT: ${{ secrets.GH_TOKEN }}
GPR_PASSWORD: ${{ secrets.GPR_PASSWORD }}
GPR_SOURCE: ${{ secrets.GPR_SOURCE }}
GPR_USER: ${{ secrets.GPR_USER }}
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
NUGET_SOURCE: "https://api.nuget.org/v3/index.json"
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
TWITTER_CONSUMER_KEY: ${{ secrets.TWITTER_CONSUMER_KEY }}
TWITTER_CONSUMER_SECRET: ${{ secrets.TWITTER_CONSUMER_SECRET }}
WYAM_ACCESS_TOKEN: ${{ secrets.WYAM_ACCESS_TOKEN }}
WYAM_DEPLOY_BRANCH: "gh-pages"
WYAM_DEPLOY_REMOTE: ${{ github.event.repository.html_url }}

steps:
- name: Checkout the repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4

- name: Fetch all tags and branches
run: git fetch --prune --unshallow

- name: Cache Tools
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
with:
path: tools
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake', '.config/dotnet-tools.json') }}

# install libgit2-dev on ubuntu, so libgit2sharp works
- name: Install libgit-dev
if: runner.os == 'Linux'
run: sudo apt-get install -y libgit2-dev

- name: Setup required dotnet versions
uses: actions/setup-dotnet@6bd8b7f7774af54e05809fcc5431931b3eb1ddee # v4.0.1
with:
dotnet-version: |
2.1.818
3.1.x
5.0.x
6.0.x
7.0.x
8.0.x

- name: Build project
uses: cake-build/cake-action@1223b6fa067ad192159f43b50cd4f953679b0934 # v2.0.0
with:
script-path: recipe.cake
target: CI
verbosity: Normal
cake-version: tool-manifest

- name: Upload Issues-Report
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4
with:
if-no-files-found: warn
name: ${{ matrix.os }} Issues
path: BuildArtifacts/report.html

- name: Upload Packages
if: runner.os == 'Windows'
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4
with:
if-no-files-found: warn
name: package
path: BuildArtifacts/Packages/**/*
46 changes: 46 additions & 0 deletions .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Draft Release Notes

on:
workflow_dispatch:

jobs:
draft-stable:
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
runs-on: ubuntu-latest

steps:
- name: Checkout the requested branch
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Fetch all tags and branches
run: git fetch --prune --unshallow
- name: Cache Tools
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
with:
path: tools
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake', '.config/dotnet-tools.json') }}
- name: Set up git version
if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }}
uses: gittools/actions/gitversion/setup@d2063e59b58a89fa78aa5efa39f6efb8ffea7308 # v2.0.1
with:
versionSpec: "5.x"
- name: Run git version
if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }}
id: gitversion
uses: gittools/actions/gitversion/execute@d2063e59b58a89fa78aa5efa39f6efb8ffea7308 # v2.0.1
- name: Create release branch ${{ github.event.inputs.version }}
if: ${{ steps.gitversion.outputs.majorMinorPatch }}
run: git switch -c release/${{ steps.gitversion.outputs.majorMinorPatch }}
- name: Push new branch
if: ${{ steps.gitversion.outputs.majorMinorPatch }}
uses: ad-m/github-push-action@d91a481090679876dfc4178fef17f286781251df # v0.8.0
with:
branch: "release/${{ steps.gitversion.outputs.majorMinorPatch }}"
github_token: ${{ secrets.GH_TOKEN }}
- name: Drafting Release Notes
uses: cake-build/cake-action@1223b6fa067ad192159f43b50cd4f953679b0934 # v2.0.0
with:
script-path: recipe.cake
target: releasenotes
verbosity: Normal
cake-version: tool-manifest
34 changes: 33 additions & 1 deletion GitReleaseManager.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,48 @@
issue-labels-include:
- Breaking change
- Feature
- Bug
- Feature
- Enhancement
- Improvement
- Documentation
- security
issue-labels-exclude:
- Build
- Internal / Refactoring
issue-labels-alias:
- name: Documentation
header: Documentation
plural: Documentation
- name: security
header: Security
plural: Security
create:
include-footer: true
footer-heading: Where to get it
footer-content: >
You can download this release from
[nuget](https://nuget.org/packages/Cake.Chocolatey.Module/{milestone}),
or you can just reference it in a cake build script
with `#addin nuget:?package=Cake.Chocolatey.Module&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
perform-regex-removal: true
regex-text: '[\r\n]*### Where to get it[\r\n]*You can .*`\.[\r\n]*'
multiline-regex: true
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/{repository}/{milestone})

Your **[GitReleaseManager](https://github.com/GitTools/GitReleaseManager)** bot :package::rocket:
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Cake.Chocolatey.Module

Cake.Chocolatey.Module is a Module for Cake, which extends it with a new IPackageInstaller for installing tools using the Chocolatey Application Package Manager
Cake.Chocolatey.Module is a Module for Cake, which extends it with a new IPackageInstaller for installing tools using the Chocolatey Application Package Manager.

[![License](http://img.shields.io/:license-mit-blue.svg)](http://cake-contrib.mit-license.org)

Expand All @@ -25,11 +25,11 @@ Cake.Chocolatey.Module is a Module for Cake, which extends it with a new IPackag

- [Documentation](https://cake-contrib.github.io/Cake.Chocolatey.Module)

## Chat Room
## Discussion

Come join in the conversation about Cake.Chocolatey.Module in our Gitter Chat Room
If you have questions, search for an existing one, or create a new discussion on the Cake GitHub repository, using the `extension-q-a` category.

[![Join the chat at https://gitter.im/cake-contrib/Lobby](https://badges.gitter.im/cake-contrib/Lobby.svg)](https://gitter.im/cake-contrib/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Join in the discussion on the Cake repository](https://img.shields.io/badge/GitHub-Discussions-green?logo=github)](https://github.com/cake-build/cake/discussions)

## Build

Expand Down
Loading
Loading