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/1.1.0 #135

Merged
merged 58 commits into from
Jul 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
9f407d8
Merge branch 'release/1.0.0' into develop
gep13 Feb 17, 2021
1c0a381
(maint) Update GRM config
gep13 Feb 18, 2021
cd3983b
(maint) Update GRM config
gep13 Feb 18, 2021
1d0e786
(#100) Bump Cake.Recipe to 3.1.1
nils-a Jul 16, 2024
0c85439
install the required .NET versions to build/release
nils-a Jul 18, 2024
d6d65f5
Merge pull request #101 from nils-a/feature/GH-100
nils-a Jul 18, 2024
9f1ee53
(#102) add a CI pipeline on GH-Actions
nils-a Jul 19, 2024
d5ce9e8
Merge pull request #103 from nils-a/feature/GH-102
nils-a Jul 19, 2024
a6f20f4
added a reference to the ASoft website to the docs
nils-a Jul 19, 2024
517183f
(#99) created a simple README
nils-a Jul 19, 2024
9f1c3f3
Merge pull request #105 from nils-a/feature/GH-99
nils-a Jul 20, 2024
873783e
(#104) updated reference to CakeContrib.Guidelines
nils-a Jul 20, 2024
45af51b
fixed CCG0007
nils-a Jul 20, 2024
20ee9ca
fixed CCG0008 : Usage of tag 'cake-build' is recommended
nils-a Jul 20, 2024
e81f69a
switched to https-link in description
nils-a Jul 20, 2024
ddabf36
Merge pull request #107 from nils-a/feature/GH-104
nils-a Jul 20, 2024
f7af0cb
(#108) added a reference to stylecop
nils-a Jul 20, 2024
c20624a
fixed stylecop warnings regarding documentation
nils-a Jul 20, 2024
1ed17c0
fixed stylecop warnings regarding naming
nils-a Jul 20, 2024
d504c8a
fixed some JetBrains warings
nils-a Jul 20, 2024
13bd9df
Merge pull request #109 from nils-a/feature/GH-108
nils-a Jul 20, 2024
d1224f2
Add renovate.json
renovate[bot] Jul 20, 2024
74a30e5
removed dependabot config
nils-a Jul 20, 2024
a3bb495
Merge pull request #110 from cake-contrib/renovate/configure
nils-a Jul 20, 2024
e9cdda1
(#114) build PR only if they originate in remote repos
nils-a Jul 20, 2024
0928045
Merge pull request #115 from nils-a/feature/GH-114
nils-a Jul 20, 2024
f73421e
(#114) build only on selected branches
nils-a Jul 20, 2024
09c4998
Merge pull request #118 from nils-a/feature/GH-114
nils-a Jul 20, 2024
ed82e03
Pin dependencies
renovate[bot] Jul 20, 2024
8bd6bcc
Merge pull request #111 from cake-contrib/renovate/pin-dependencies
nils-a Jul 20, 2024
65dce5f
Update dependency Cake.Addin.Analyzer to v0.1.3
renovate[bot] Jul 20, 2024
25e6f19
Merge pull request #116 from cake-contrib/renovate/cake.addin.analyze…
nils-a Jul 20, 2024
ca52ece
Update actions/checkout action to v2.7.0
renovate[bot] Jul 20, 2024
0217e06
Update actions/cache action to v2.1.8
renovate[bot] Jul 20, 2024
ce98bbc
Update ad-m/github-push-action action to v0.8.0
renovate[bot] Jul 20, 2024
f81a1a5
Merge pull request #119 from cake-contrib/renovate/ad-m-github-push-a…
nils-a Jul 20, 2024
cf24539
Update dependency Microsoft.NET.Test.Sdk to v16.11.0
renovate[bot] Jul 20, 2024
4e05555
Merge pull request #121 from cake-contrib/renovate/vstest-monorepo
nils-a Jul 20, 2024
1b10be8
Update actions/cache action to v4
renovate[bot] Jul 21, 2024
a3ac43e
Update xunit-dotnet monorepo
renovate[bot] Jul 21, 2024
6fc808c
Merge pull request #126 from cake-contrib/renovate/xunit-dotnet-monorepo
nils-a Jul 21, 2024
41d483a
Update actions/checkout action to v4
renovate[bot] Jul 21, 2024
a9cc909
Update gittools/actions action to v0.13.6
renovate[bot] Jul 21, 2024
13f20ff
Merge pull request #125 from cake-contrib/renovate/gittools-actions-0.x
nils-a Jul 21, 2024
25eb392
Update dependency coverlet.msbuild to v3.2.0
renovate[bot] Jul 21, 2024
fe0e381
Merge pull request #124 from cake-contrib/renovate/coverlet.msbuild-3.x
nils-a Jul 21, 2024
70d4d40
Update dependency NSubstitute to v4.4.0
renovate[bot] Jul 21, 2024
5de923b
Merge pull request #123 from cake-contrib/renovate/nsubstitute-4.x
nils-a Jul 21, 2024
4375ecd
Update dependency Microsoft.SourceLink.GitHub to v1.1.1
renovate[bot] Jul 21, 2024
6cddb2c
Merge pull request #122 from cake-contrib/renovate/microsoft.sourceli…
nils-a Jul 21, 2024
48c306e
Update dependency Microsoft.SourceLink.GitHub to v8
renovate[bot] Jul 21, 2024
1038f2a
Merge pull request #131 from cake-contrib/renovate/microsoft.sourceli…
nils-a Jul 21, 2024
394e1c8
Update dependency NSubstitute to v5
renovate[bot] Jul 21, 2024
0efbb95
Merge pull request #132 from cake-contrib/renovate/nsubstitute-5.x
nils-a Jul 21, 2024
a7de82a
Update dependency coverlet.msbuild to v6
renovate[bot] Jul 21, 2024
73cec0f
Merge pull request #133 from cake-contrib/renovate/coverlet.msbuild-6.x
nils-a Jul 21, 2024
7010ea0
Update gittools/actions action to v1
renovate[bot] Jul 21, 2024
05f1400
Merge pull request #134 from cake-contrib/renovate/gittools-actions-1.x
nils-a Jul 21, 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
18 changes: 17 additions & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
#---------------------------------#
# Build Image #
#---------------------------------#
image: Visual Studio 2019
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 #
Expand Down
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"cake.tool": {
"version": "0.38.5",
"version": "1.3.0",
"commands": [
"dotnet-cake"
]
Expand Down
10 changes: 6 additions & 4 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 Down
12 changes: 0 additions & 12 deletions .github/dependabot.yml

This file was deleted.

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/**/*
12 changes: 6 additions & 6 deletions .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,34 @@ jobs:

steps:
- name: Checkout the requested branch
uses: actions/checkout@v2.3.4
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Fetch all tags and branches
run: git fetch --prune --unshallow
- name: Cache Tools
uses: actions/cache@v2.1.4
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: tools
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}
- name: Set up git version
if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }}
uses: gittools/actions/gitversion/setup@v0.9.9
uses: gittools/actions/gitversion/setup@dcb17efb49ec7f20efdebce79cc397a3952c63db # v1.2.0
with:
versionSpec: "5.x"
- name: Run git version
if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }}
id: gitversion
uses: gittools/actions/gitversion/execute@v0.9.9
uses: gittools/actions/gitversion/execute@dcb17efb49ec7f20efdebce79cc397a3952c63db # v1.2.0
- 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@v0.6.0
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@v1
uses: cake-build/cake-action@a6eb054329257c9e70a6c6bf01747ad6e1d9d52b # v1
with:
script-path: recipe.cake
target: releasenotes
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -345,4 +345,5 @@ BuildArtifacts/*
.DS_Store

# Wyam
docs/input/tasks
docs/input/tasks
/config.wyam.*
27 changes: 22 additions & 5 deletions GitReleaseManager.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
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
Expand All @@ -15,9 +17,24 @@ issue-labels-alias:
header: Security
plural: Security
create:
include-sha-section: true
sha-section-heading: "SHA256 Hashes of the release artifacts"
sha-section-line-format: "- `{1}\t{0}`"
include-footer: true
footer-heading: Where to get it
footer-content: >
You can download this release from
[nuget](https://nuget.org/packages/Cake.DotNetVersionDetector/{milestone}),
or you can just reference it in a cake build script
with `#addin nuget:?package=Cake.DotNetVersionDetector&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: |-
Expand All @@ -28,4 +45,4 @@ close:
- [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:
Your **[GitReleaseManager](https://github.com/GitTools/GitReleaseManager)** bot :package::rocket:
36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Cake.DotNetVersionDetector

Cake.DotNetVersionDetector is set of aliases for [Cake][0] that help simplify using [ASoft .NET Version Detector][1].

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

## Information

| |Stable|Pre-release|
|:--:|:--:|:--:|
|GitHub Release|-|[![GitHub release](https://img.shields.io/github/release/cake-contrib/Cake.DotNetVersionDetector.svg)][3]|
|NuGet|[![MyGet](https://img.shields.io/myget/cake-contrib/vpre/Cake.DotNetVersionDetector.svg)][4]|[![NuGet](https://img.shields.io/nuget/vpre/Cake.DotNetVersionDetector.svg)][5]|

## Build Status

|Develop|Master|
|:--:|:--:|
|[![Build status][6]][7]|[![Build status][8]][7]|

## Quick Links

- [API Documentation][9]
- [Usage Examples][10]


[0]: https://cakebuild.net/
[1]: https://www.asoft.be/prod_netver.html
[2]: https://mit-license.org/
[3]: https://github.com/cake-contrib/Cake.DotNetVersionDetector/releases/latest
[4]: https://www.myget.org/feed/cake-contrib/package/nuget/Cake.DotNetVersionDetector
[5]: https://www.nuget.org/packages/Cake.DotNetVersionDetector
[6]: https://github.com/cake-contrib/Cake.DotNetVersionDetector/actions/workflows/build.yml/badge.svg?branch=develop
[7]: https://github.com/cake-contrib/Cake.DotNetVersionDetector/actions/workflows/build.yml
[8]: https://github.com/cake-contrib/Cake.DotNetVersionDetector/actions/workflows/build.yml/badge.svg?branch=master
[9]: https://cakebuild.net/dsl/DotNetVersionDetector/
[10]: https://cake-contrib.github.io/Cake.DotNetVersionDetector/docs/usage/examples
Loading
Loading